mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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…
Reference in New Issue
Block a user