Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix(ipc): surface real error in cloud-api catch block

Gabriel Stein7aa5434166d5
diff --git a/src/helpers/ipcHandlers.js b/src/helpers/ipcHandlers.js
index 6ebad3258..e13511cc8 100644
--- a/src/helpers/ipcHandlers.js
+++ b/src/helpers/ipcHandlers.js
@@ -5663,7 +5663,10 @@ class IPCHandlers {
return { success: true, data };
} catch (error) {
- debugLogger.error(`Cloud API request error (${opts?.path}):`, error);
+ debugLogger.error(
+ `Cloud API request error (${opts?.path}): ${error?.message || error} ${error?.code || ""}`.trim(),
+ error?.stack
+ );
return { success: false, error: error.message };
}
});