diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketInvocationError.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketInvocationError.ts index 8cf79462c9..2d34ffdde6 100644 --- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketInvocationError.ts +++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketInvocationError.ts @@ -47,13 +47,11 @@ export const addInvocationErrorEventListener = (startAppListening: AppStartListe nes.progress = null; nes.progressImage = null; - if (error_type && error_message && error_traceback) { - nes.error = { - error_type, - error_message, - error_traceback, - }; - } + nes.error = { + error_type, + error_message, + error_traceback, + }; upsertExecutionState(nes.nodeId, nes); }