diff --git a/webservice/job_monitor.py b/webservice/job_monitor.py index 3e8d505250042834ace4a376686961a9d5c33005..1e9ff45e46261ca8da23c239f37a6ab38552a391 100644 --- a/webservice/job_monitor.py +++ b/webservice/job_monitor.py @@ -343,11 +343,11 @@ class JobsMonitor: try: report_path = args[args.index("--report-to") + 1] + ".pdf" except (ValueError, IndexError): - log.warning("Couldn't find report path in %r", args) + log.error("Couldn't find report path in %r", args) return if not os.path.isfile(report_path): - log.warning("Jobs finished, but report file %s missing", report_path) + log.error("Jobs finished, but report file %s missing", report_path) return ts = datetime.fromtimestamp(os.stat(report_path).st_mtime, tz=timezone.utc)