fix(ui) - error message handle obj
This commit is contained in:
parent
920d1104e9
commit
8a69d24c1d
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ function onReject() {
|
|||
}
|
||||
|
||||
function onError(e) {
|
||||
toast.error(e);
|
||||
toast.error(typeof e === 'string' ? e : e.message);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue