Skip to content

Commit

Permalink
Update src/renderer/contexts/ExecutionContext.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Schmidt <[email protected]>
  • Loading branch information
joeyballentine and RunDevelopment authored Jun 30, 2024
1 parent f81fb7e commit 66f5d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/contexts/ExecutionContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ export const ExecutionProvider = memo(({ children }: React.PropsWithChildren<{}>
});
}
} catch (err: unknown) {
if (!CancelError.isCancel(err)) {
if (!(err instanceof CancelError)) {
sendAlert({
type: AlertType.ERROR,
message: `An unexpected error occurred: ${String(err)}`,
Expand Down

0 comments on commit 66f5d68

Please sign in to comment.