mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
break on database error
This commit is contained in:
parent
170e0e45e3
commit
be5289ba0f
@ -75,6 +75,7 @@ class Plugins:
|
||||
except (OperationalError, ProgrammingError):
|
||||
# Exception if the database has not been migrated yet
|
||||
logger.info('Database not accessible while loading plugins')
|
||||
break
|
||||
except IntegrationPluginError as error:
|
||||
logger.error(f'Encountered an error with {error.path}:\n{error.message}')
|
||||
log_plugin_error({error.path: error.message}, 'load')
|
||||
|
Loading…
Reference in New Issue
Block a user