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
0758e9cb9b
commit
08a42c3c03
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user