mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 04:53:28 +02:00
ensure error message when marketplace update fails
This commit is contained in:
parent
366dd935dd
commit
ddfd437696
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ Rectangle {
|
|||
|
||||
onUpdateItemResult: {
|
||||
if (result.status !== 'success') {
|
||||
failureErrorText.text = result.message;
|
||||
failureErrorText.text = result.data ? (result.data.message || "Unknown Error") : JSON.stringify(result);
|
||||
root.activeView = "checkoutFailure";
|
||||
} else {
|
||||
root.itemHref = result.data.download_url;
|
||||
|
|
Loading…
Reference in a new issue