diff --git a/evap/evaluation/management/commands/tools.py b/evap/evaluation/management/commands/tools.py index fef8f38d0a..ee07ec9e4a 100644 --- a/evap/evaluation/management/commands/tools.py +++ b/evap/evaluation/management/commands/tools.py @@ -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