Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit 208b2ea

Browse files
authored
fix(tracer): adding exception traceback at debug mode (#312)
1 parent 716f67f commit 208b2ea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

epsagon/trace.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,7 @@ def _send_traces(self):
11961196
event.resource['metadata'],
11971197
MAX_METADATA_FIELD_SIZE_LIMIT
11981198
)
1199+
11991200
except Exception as exception:
12001201
if self.debug:
12011202
print(
@@ -1204,6 +1205,7 @@ def _send_traces(self):
12041205
exception
12051206
)
12061207
)
1208+
traceback.print_exc()
12071209
return
12081210

12091211
try:

0 commit comments

Comments
 (0)