error handling

pull/32/head
Niko PLP 2 months ago
parent b25be98d04
commit a36af315fe
  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