Example #1
0
 def from_exc_info(cls, artifact_name, exc_info):
     tb = Traceback(*exc_info)
     tb.filter_hidden_frames()
     return cls({
         'artifact': artifact_name,
         'exception': tb.exception,
         'traceback': tb.plaintext,
     })
Example #2
0
 def from_exc_info(cls, artifact_name, exc_info):
     tb = Traceback(*exc_info)
     tb.filter_hidden_frames()
     return cls({
         "artifact": artifact_name,
         "exception": tb.exception,
         "traceback": tb.plaintext,
     })
Example #3
0
 def from_exc_info(cls, artifact_name, exc_info):
     tb = Traceback(*exc_info)
     tb.filter_hidden_frames()
     return cls({
         'artifact': artifact_name,
         'exception': tb.exception,
         'traceback': tb.plaintext,
     })