File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def calculate_span_pointers(
3030 except Exception as e :
3131 logger .warning (
3232 "failed to calculate span pointers for event: %s" ,
33- str ( e ) ,
33+ e ,
3434 )
3535
3636 return []
@@ -75,7 +75,7 @@ def _calculate_s3_span_pointers_for_object_created_s3_information(
7575 except KeyError as e :
7676 logger .warning (
7777 "missing s3 information required to make a span pointer: %s" ,
78- str ( e ) ,
78+ e ,
7979 )
8080 return []
8181
@@ -92,7 +92,7 @@ def _calculate_s3_span_pointers_for_object_created_s3_information(
9292 except Exception as e :
9393 logger .warning (
9494 "failed to generate S3 span pointer: %s" ,
95- str ( e ) ,
95+ e ,
9696 )
9797 return []
9898
@@ -119,7 +119,7 @@ def _calculate_dynamodb_span_pointers_for_event_record(
119119 except Exception as e :
120120 logger .warning (
121121 "missing DynamoDB information required to make a span pointer: %s" ,
122- str ( e ) ,
122+ e ,
123123 )
124124 return []
125125
@@ -135,7 +135,7 @@ def _calculate_dynamodb_span_pointers_for_event_record(
135135 except Exception as e :
136136 logger .warning (
137137 "failed to generate DynamoDB span pointer: %s" ,
138- str ( e ) ,
138+ e ,
139139 )
140140 return []
141141
You can’t perform that action at this time.
0 commit comments