mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-08 19:59:29 +00:00
return onError
This commit is contained in:
parent
8b0c1e4f9a
commit
0955fdb6e6
1 changed files with 4 additions and 1 deletions
|
@ -135,7 +135,10 @@ class JsonRPC {
|
|||
// );
|
||||
}
|
||||
|
||||
return req.completer.future;
|
||||
return req.completer.future.onError(
|
||||
(error, stackTrace) =>
|
||||
Exception("return req.completer.future.onError: $error"),
|
||||
);
|
||||
}
|
||||
|
||||
void disconnect() {
|
||||
|
|
Loading…
Reference in a new issue