diff --git a/src/renderer/src/util.ts b/src/renderer/src/util.ts index 8c59f7e5..075b2466 100644 --- a/src/renderer/src/util.ts +++ b/src/renderer/src/util.ts @@ -357,7 +357,7 @@ export async function withErrorHandling(operation: () => Promise, errorMsg if (typeof errorMsgOrFn === 'function') errorMsg = errorMsgOrFn(err); if (errorMsg != null) { console.error(errorMsg, err); - errorToast(errorMsg); + handleError(errorMsg, err); } else { handleError(err); }