diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index 6abb67a446..ce0b07e5fd 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -29,6 +29,15 @@ from plugin.integration import IntegrationPluginBase logger = logging.getLogger('inventree') +class PluginLoadingError(Exception): + def __init__(self, path, message): + self.path = path + self.message = message + + def __str__(self): + return self.message + + class PluginAppConfig(AppConfig): name = 'plugin'