error handling

master
Niko PLP 9 months ago
parent efeca69c89
commit 428ce35fad
  1. 6
      ng-app/src/api.ts

@ -215,7 +215,11 @@ const handler = {
return await tauri.invoke(path[0],arg) return await tauri.invoke(path[0],arg)
} }
}catch (e) { }catch (e) {
throw JSON.parse(e); try {
throw JSON.parse(e);
} catch (f) {
throw e;
}
} }
} }
}, },

Loading…
Cancel
Save