error handling

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

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

Loading…
Cancel
Save