diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/confirm-create-reserve.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pages/confirm-create-reserve.tsx b/pages/confirm-create-reserve.tsx index be84fff2b..1c3bf7cbb 100644 --- a/pages/confirm-create-reserve.tsx +++ b/pages/confirm-create-reserve.tsx @@ -121,8 +121,9 @@ class Controller { console.log("get exchange info rejected"); if (e.hasOwnProperty("httpStatus")) { this.statusString = `request failed with status ${this.request.status}`; - } else { - this.statusString = `unknown request error`; + } else if (e.hasOwnProperty("errorResponse")) { + let resp = e.errorResponse; + this.statusString = `error: ${resp.error} (${resp.hint})`; } m.endComputation(); }); |