Show exception message when an app's URL can't be loaded.
This commit is contained in:
@@ -56,8 +56,11 @@ class MayanAppConfig(apps.AppConfig):
|
||||
namespace=self.app_namespace or self.name
|
||||
)
|
||||
),
|
||||
except ImportError:
|
||||
logger.debug('App %s doesn\'t have URLs defined.', self.name)
|
||||
except ImportError as exception:
|
||||
logger.debug(
|
||||
'App %s doesn\'t have URLs defined. Exception: %s', self.name,
|
||||
exception
|
||||
)
|
||||
|
||||
|
||||
class CommonApp(MayanAppConfig):
|
||||
|
||||
Reference in New Issue
Block a user