error handling

pull/37/head
Niko PLP 5 months ago
parent 81167ed5f3
commit c9630401f5
  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