From 050e7525bbc882e494829e3dfdc32435a1f9ffe2 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 6 Mar 2015 13:35:28 -0500 Subject: [PATCH] use the actual line instead of string replacement Signed-off-by: Alfredo Deza --- radosgw_agent/util/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radosgw_agent/util/decorators.py b/radosgw_agent/util/decorators.py index 1a063a4..2923cf2 100644 --- a/radosgw_agent/util/decorators.py +++ b/radosgw_agent/util/decorators.py @@ -87,7 +87,7 @@ def catches(catch=None, handler=None, exit=True, handle_all=False): str_failure = traceback.format_exc() for line in str_failure.split('\n'): - logger.error("%s" % line) + logger.error(line) sys.exit(1) return newfunc -- 2.47.3