diff --git a/web.py b/web.py index 813c9b2..905cb2c 100644 --- a/web.py +++ b/web.py @@ -29,8 +29,8 @@ try: module_path = 'ext.app.{}'.format(app_file) import_module(module_path) -except Exception as e: - helpers.log(str(e)) +except Exception: + helpers.logger.exception('Exception raised when importing app code') ####################### ## Start Application ##