MCPcopy Create free account
hub / github.com/celery/celery / formatException

Method formatException

celery/utils/log.py:139–143  ·  view source on GitHub ↗
(self, ei)

Source from the content-addressed store, hash-verified

137 self.use_color = use_color
138
139 def formatException(self, ei):
140 if ei and not isinstance(ei, tuple):
141 ei = sys.exc_info()
142 r = super().formatException(ei)
143 return r
144
145 def format(self, record):
146 msg = super().format(record)

Calls

no outgoing calls

Tested by 2