mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 12:05:53 +00:00
log lookup error
This commit is contained in:
@ -285,6 +285,7 @@ class PluginAppConfig(AppConfig):
|
|||||||
models += [model._meta.model_name]
|
models += [model._meta.model_name]
|
||||||
except LookupError:
|
except LookupError:
|
||||||
# if an error occurs the app was never loaded right -> so nothing to do anymore
|
# if an error occurs the app was never loaded right -> so nothing to do anymore
|
||||||
|
logger.debug(f'{app_name} App was not found during deregistering')
|
||||||
break
|
break
|
||||||
|
|
||||||
# unregister the models (yes, models are just kept in multilevel dicts)
|
# unregister the models (yes, models are just kept in multilevel dicts)
|
||||||
|
Reference in New Issue
Block a user