Skip to content

Commit

Permalink
Fix log_exceptions to correctly pass args to handle
Browse files Browse the repository at this point in the history
  • Loading branch information
hansegucker committed Jun 17, 2024
1 parent a886322 commit a6c8309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evap/evaluation/management/commands/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def log_exceptions(cls):
class NewClass(cls):
def handle(self, *args, **options):
try:
super().handle(args, options)
super().handle(*args, **options)
except Exception:
logger.exception("Management command '%s' failed. Traceback follows: ", sys.argv[1])
raise
Expand Down

0 comments on commit a6c8309

Please sign in to comment.