diff --git a/src/services/cmds.ts b/src/services/cmds.ts index 694b854..6dc28d3 100644 --- a/src/services/cmds.ts +++ b/src/services/cmds.ts @@ -84,13 +84,13 @@ export async function killSidecars() { } export async function openAppDir() { - return invoke("open_app_dir") - .then((message) => console.log(message)) - .catch((err) => Notice.error(err?.message || err.toString(), 1500)); + return invoke("open_app_dir").catch((err) => + Notice.error(err?.message || err.toString(), 1500) + ); } export async function openLogsDir() { - return invoke("open_logs_dir") - .then((message) => console.log(message)) - .catch((err) => Notice.error(err?.message || err.toString(), 1500)); + return invoke("open_logs_dir").catch((err) => + Notice.error(err?.message || err.toString(), 1500) + ); }