From ec40d94ddf1f937f3e05396a1f5518b59ec157dc Mon Sep 17 00:00:00 2001 From: Lu Peng <61207760+lupengamzn@users.noreply.github.com> Date: Tue, 8 Jun 2021 11:33:30 -0700 Subject: [PATCH] Changed logging to avoid overflow --- aws_xray_sdk/core/utils/conversion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws_xray_sdk/core/utils/conversion.py b/aws_xray_sdk/core/utils/conversion.py index 0d40d463..1c039310 100644 --- a/aws_xray_sdk/core/utils/conversion.py +++ b/aws_xray_sdk/core/utils/conversion.py @@ -31,5 +31,5 @@ def metadata_to_dict(obj): else: return obj except Exception: - log.exception("Failed to convert {} to dict".format(str(obj))) + log.exception("Failed to convert metadata to dict") return {}