File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,12 +127,12 @@ def _maybe_init_flush_thread(self):
127
127
128
128
def _fine (self , fmt , args ):
129
129
if self .verbosity >= 1 :
130
- fmt_args = fmt .format (args )
130
+ fmt_args = fmt .format (* args )
131
131
print ("[LightStep Tracer]: " , fmt_args )
132
132
133
133
def _finest (self , fmt , args ):
134
134
if self .verbosity >= 2 :
135
- fmt_args = fmt .format (args )
135
+ fmt_args = fmt .format (* args )
136
136
print ("[LightStep Tracer]: " , fmt_args )
137
137
138
138
def record_span (self , span ):
@@ -289,7 +289,7 @@ def _flush_worker(self, connection):
289
289
except Exception as e :
290
290
self ._fine (
291
291
"Caught exception during report: {0}, stack trace: {1}" ,
292
- (e , traceback .format_exc (e )))
292
+ (e , traceback .format_exc ()))
293
293
self ._restore_spans (report_request .span_records )
294
294
return False
295
295
You can’t perform that action at this time.
0 commit comments