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