mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Log a stack trace for invocation errors.
This commit is contained in:
parent
c481c08a64
commit
60815f59d1
@ -200,6 +200,7 @@ class DefaultSessionProcessor(SessionProcessorBase):
|
|||||||
self._invoker.services.logger.error(
|
self._invoker.services.logger.error(
|
||||||
f"Error while invoking session {self._queue_item.session_id}, invocation {self._invocation.id} ({self._invocation.get_type()}):\n{e}"
|
f"Error while invoking session {self._queue_item.session_id}, invocation {self._invocation.id} ({self._invocation.get_type()}):\n{e}"
|
||||||
)
|
)
|
||||||
|
self._invoker.services.logger.error(error)
|
||||||
|
|
||||||
# Send error event
|
# Send error event
|
||||||
self._invoker.services.events.emit_invocation_error(
|
self._invoker.services.events.emit_invocation_error(
|
||||||
|
Loading…
Reference in New Issue
Block a user