From fe96d07c1e69d1dce28e895f3dc5eaea861e637b Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 17 Nov 2021 02:07:29 +0100 Subject: [PATCH] log lookup error --- InvenTree/plugin/apps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index 3da80f71ed..c055aba1d8 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -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)