File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,12 +127,12 @@ def _maybe_init_flush_thread(self):
127127
128128 def _fine (self , fmt , args ):
129129 if self .verbosity >= 1 :
130- fmt_args = fmt .format (args )
130+ fmt_args = fmt .format (* args )
131131 print ("[LightStep Tracer]: " , fmt_args )
132132
133133 def _finest (self , fmt , args ):
134134 if self .verbosity >= 2 :
135- fmt_args = fmt .format (args )
135+ fmt_args = fmt .format (* args )
136136 print ("[LightStep Tracer]: " , fmt_args )
137137
138138 def record_span (self , span ):
@@ -289,7 +289,7 @@ def _flush_worker(self, connection):
289289 except Exception as e :
290290 self ._fine (
291291 "Caught exception during report: {0}, stack trace: {1}" ,
292- (e , traceback .format_exc (e )))
292+ (e , traceback .format_exc ()))
293293 self ._restore_spans (report_request .span_records )
294294 return False
295295
You can’t perform that action at this time.
0 commit comments