Skip to content

Commit

Permalink
Fix broken syntax for the f-string in DBSUploadPoller
Browse files Browse the repository at this point in the history
  • Loading branch information
amaltaro committed Jan 18, 2023
1 parent f36b90c commit a558fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/WMComponent/DBS3Buffer/DBSUploadPoller.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def uploadWorker(workInput, results, dbsUrl, gzipEncoding=False):
logging.error(msg)
results.put({'name': name, 'success': "error", 'error': msg})
except Exception as ex:
msg = f"Hit a general exception while inserting block {name. Error: {str(ex}}"
msg = f"Hit a general exception while inserting block {name}. Error: {str(ex)}"
logging.exception(msg)
results.put({'name': name, 'success': "error", 'error': msg})
return
Expand Down

0 comments on commit a558fc3

Please sign in to comment.