diff --git a/src/python/WMComponent/DBS3Buffer/DBSUploadPoller.py b/src/python/WMComponent/DBS3Buffer/DBSUploadPoller.py index 66cebddcdc..5b0e2a7646 100644 --- a/src/python/WMComponent/DBS3Buffer/DBSUploadPoller.py +++ b/src/python/WMComponent/DBS3Buffer/DBSUploadPoller.py @@ -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