Skip to content

Commit

Permalink
Merge branch 'main' into bp-group-name-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ahopkins committed Jul 5, 2023
2 parents 4f2a5e0 + f48506d commit b425af0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sanic/cli/app.py
Expand Up @@ -180,6 +180,10 @@ def _get_app(self, app_loader: AppLoader):
" Example File: project/sanic_server.py -> app\n"
" Example Module: project.sanic_server.app"
)
error_logger.error(
"\nThe error below might have caused the above one:\n"
f"{e.msg}"
)
sys.exit(1)
else:
raise e
Expand Down

0 comments on commit b425af0

Please sign in to comment.