mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
include exception if non-null
This commit is contained in:
parent
6ace239647
commit
40d9a8aa9e
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class Connection {
|
|||
if (e is Exception) {
|
||||
throw e;
|
||||
} else {
|
||||
throw Exception('Unknown error');
|
||||
throw Exception(e ?? 'Error in `subscription` socket!.listen');
|
||||
}
|
||||
},
|
||||
onDone: () {
|
||||
|
|
Loading…
Reference in a new issue