error handling

pull/32/head
Niko PLP 4 months ago
parent b25be98d04
commit a36af315fe
  1. 4
      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) {
try {
throw JSON.parse(e); throw JSON.parse(e);
} catch (f) {
throw e;
}
} }
} }
}, },

Loading…
Cancel
Save