mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
some more docs
This commit is contained in:
parent
4c7d295c0e
commit
d36ab0d9cd
@ -70,13 +70,15 @@ class PluginAppConfig(AppConfig):
|
|||||||
logger.info('Database not accessible while loading plugins')
|
logger.info('Database not accessible while loading plugins')
|
||||||
except PluginLoadingError as error:
|
except PluginLoadingError as error:
|
||||||
logger.error(f'Encountered an error with {error.path}:\n{error.message}')
|
logger.error(f'Encountered an error with {error.path}:\n{error.message}')
|
||||||
blocked_plugin = error.path
|
blocked_plugin = error.path # we will not try to load this app again
|
||||||
|
|
||||||
# init apps without any integration plugins
|
# init apps without any integration plugins
|
||||||
self._clean_registry()
|
self._clean_registry()
|
||||||
self._clean_installed_apps()
|
self._clean_installed_apps()
|
||||||
self._activate_plugins(force_reload=True)
|
self._activate_plugins(force_reload=True)
|
||||||
|
|
||||||
|
# now the loading will re-start up with init
|
||||||
|
|
||||||
# remove maintenance
|
# remove maintenance
|
||||||
if not _maintenance:
|
if not _maintenance:
|
||||||
set_maintenance_mode(False)
|
set_maintenance_mode(False)
|
||||||
|
Loading…
Reference in New Issue
Block a user