tidy(ui): remove extraneous condition in socketInvocationError

This commit is contained in:
psychedelicious 2024-05-24 12:14:48 +10:00
parent 6fc7614b4a
commit ba4d27860f

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,
};
}
upsertExecutionState(nes.nodeId, nes);
}