Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Jan 10, 2025
1 parent 255e6dd commit 3af8691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/command/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def main(args: list[str] | None = None):
try:
ret = parsed_args.invoke(parsed_args)
except Exception as e:
if hasattr(config, "dev") and config.dev:
if config.autoreload:
raise e
die("ERROR: " + str(e))
else:
Expand Down

0 comments on commit 3af8691

Please sign in to comment.