mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 21:35:04 +02:00
use the err directly on upload error
This commit is contained in:
parent
179cb67cdb
commit
e3f194b4dd
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ ScrollingWindow {
|
||||||
|
|
||||||
if (err !== -1) {
|
if (err !== -1) {
|
||||||
console.log("Asset Browser - error uploading: ", fileUrl, " - error ", err);
|
console.log("Asset Browser - error uploading: ", fileUrl, " - error ", err);
|
||||||
var box = errorMessageBox("There was an error uploading:\n" + fileUrl + "\n" + Assets.getErrorString(err));
|
var box = errorMessageBox("There was an error uploading:\n" + fileUrl + "\n" + err);
|
||||||
box.selected.connect(reload);
|
box.selected.connect(reload);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue