forked from Qortal/qortal
Fixed bug in error handling.
This commit is contained in:
parent
3c251c35ea
commit
b1ebe1864b
@ -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));
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user