mirror of
https://github.com/qurator-spk/eynollah.git
synced 2026-06-16 09:59:13 +02:00
predictor: show full stacktrace before passing the exception over
This commit is contained in:
parent
e9839a8b54
commit
dfa651ef8a
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ class Predictor(mp.context.SpawnProcess):
|
|||
self.resultq.put((jobid, result))
|
||||
#self.logger.debug("sent result for '%d': %s", jobid, result)
|
||||
except Exception as e:
|
||||
self.logger.error("prediction for %s failed: %s", self.name, e.__class__.__name__)
|
||||
self.logger.exception("prediction for %s failed: %s", self.name, e.__class__.__name__)
|
||||
result = e
|
||||
self.resultq.put((jobid, result))
|
||||
close_all()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue