Skip to content

Commit 01e490a

Browse files
author
Jeel Mehta
committed
Fixed a f-string issue (linting)
1 parent 7bc6728 commit 01e490a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_bedrock_patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def on_success(self, span: Span, result: Dict[str, Any]):
359359
except json.JSONDecodeError:
360360
_logger.debug("Error: Unable to parse the response body as JSON")
361361
except Exception as e: # pylint: disable=broad-exception-caught, invalid-name
362-
_logger.debug(f"Error processing response: {str(e)}")
362+
_logger.debug("Error processing response: %s", e)
363363
finally:
364364
if original_body is not None:
365365
original_body.close()

0 commit comments

Comments
 (0)