mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-04-23 11:27:52 +00:00
pass error
This commit is contained in:
parent
7c6f9e90bb
commit
cd4dd739b7
@ -314,6 +314,11 @@ class WebBrowser extends LitElement {
|
|||||||
worker.terminate();
|
worker.terminate();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
worker.terminate();
|
worker.terminate();
|
||||||
|
const data = {}
|
||||||
|
const errorMsg = error.message || 'Upload failed'
|
||||||
|
data["error"] = errorMsg
|
||||||
|
response = JSON.stringify(data);
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user