Skip to content

The swiss army knife of lossless video/audio editing

improve error msg #2232

Mikael Finstad0ab7db0c384e
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<void>, errorMsg
if (typeof errorMsgOrFn === 'function') errorMsg = errorMsgOrFn(err);
if (errorMsg != null) {
console.error(errorMsg, err);
- errorToast(errorMsg);
+ handleError(errorMsg, err);
} else {
handleError(err);
}