Skip to content

Commit

Permalink
[squashme] Put trace in the details
Browse files Browse the repository at this point in the history
  • Loading branch information
fernflower authored and pirat89 committed Jun 26, 2023
1 parent 1420bce commit c4c1800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leapp/messaging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ def report_error(self, message, severity, actor, details):
self._do_produce(model, actor, self._errors)

def report_stacktrace(self, message, trace, actorname):
model = ErrorModel(message="{message}\n{trace}".format(message=message, trace=trace),
actor=actorname, severity="fatal", time=datetime.datetime.now())
model = ErrorModel(message=message, details=trace, actor=actorname, severity="fatal",
time=datetime.datetime.now())
self._do_produce(model, actorname, self._errors)

def request_stop_after_phase(self):
Expand Down

0 comments on commit c4c1800

Please sign in to comment.