Skip to content
Snippets Groups Projects
Commit 20beff86 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Remove unnecessary f-strings

parent 3bc332c6
No related branches found
No related tags found
1 merge request!449Webservice: update Slurm jobs status in a separate thread
...@@ -391,7 +391,7 @@ def update_job_db(config): ...@@ -391,7 +391,7 @@ def update_job_db(config):
action, rid) action, rid)
logging.error(Errors.MDC_RESPONSE.format(response)) logging.error(Errors.MDC_RESPONSE.format(response))
except Exception: except Exception:
logging.error(f"Failure to update job DB", exc_info=True) logging.error("Failure to update job DB", exc_info=True)
time.sleep(time_interval) time.sleep(time_interval)
...@@ -805,7 +805,7 @@ class ActionsServer: ...@@ -805,7 +805,7 @@ class ActionsServer:
out_folder, out_folder,
runnr)) runnr))
except Exception as corr_e: except Exception as corr_e:
logging.error(f"Error during correction", exc_info=corr_e) logging.error("Error during correction", exc_info=corr_e)
await update_mdc_status(self.mdc, 'correct', rid, await update_mdc_status(self.mdc, 'correct', rid,
Errors.REQUEST_FAILED) Errors.REQUEST_FAILED)
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment