tidy(ui): remove extraneous condition in socketInvocationError

This commit is contained in:
psychedelicious 2024-05-24 12:14:48 +10:00
parent 0758e9cb9b
commit 08a42c3c03

View File

@ -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);
}