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

Commit 763b510

Browse files
authored
fix(trace_id): log_id transformation (#232)
1 parent c277d08 commit 763b510

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

epsagon/trace.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import signal
1414
import pprint
1515
import threading
16-
import uuid
1716
import simplejson as json
1817

1918
import requests
@@ -765,7 +764,7 @@ def get_log_id(self):
765764
if self.logging_tracing_enabled and self.runner:
766765
trace_id = self.runner.resource['metadata'].get('trace_id')
767766
if trace_id:
768-
return 'E#' + uuid.UUID(trace_id).hex + '#E'
767+
return 'E#' + str(trace_id) + '#E'
769768

770769
return None
771770

0 commit comments

Comments
 (0)