mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 03:26:45 +00:00
log lookup error
This commit is contained in:
parent
4ab464dc9e
commit
fe96d07c1e
@ -285,6 +285,7 @@ class PluginAppConfig(AppConfig):
|
||||
models += [model._meta.model_name]
|
||||
except LookupError:
|
||||
# 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
|
||||
|
||||
# unregister the models (yes, models are just kept in multilevel dicts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user