mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tidy(ui): remove extraneous condition in socketInvocationError
This commit is contained in:
parent
6fc7614b4a
commit
ba4d27860f
@ -47,13 +47,11 @@ export const addInvocationErrorEventListener = (startAppListening: AppStartListe
|
|||||||
nes.progress = null;
|
nes.progress = null;
|
||||||
nes.progressImage = null;
|
nes.progressImage = null;
|
||||||
|
|
||||||
if (error_type && error_message && error_traceback) {
|
nes.error = {
|
||||||
nes.error = {
|
error_type,
|
||||||
error_type,
|
error_message,
|
||||||
error_message,
|
error_traceback,
|
||||||
error_traceback,
|
};
|
||||||
};
|
|
||||||
}
|
|
||||||
upsertExecutionState(nes.nodeId, nes);
|
upsertExecutionState(nes.nodeId, nes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user