Fixed bug in error handling.

This commit is contained in:
CalDescent 2023-04-21 19:27:24 +01:00
parent 3c251c35ea
commit b1ebe1864b

View File

@ -23,7 +23,7 @@ function httpGetAsyncWithEvent(event, url) {
.catch((error) => {
let res = {};
res.error = error;
handleResponse(JSON.stringify(res), responseText);
handleResponse(event, JSON.stringify(res));
})
}