return onError

This commit is contained in:
julian 2023-05-26 15:28:25 -06:00
parent 8b0c1e4f9a
commit 0955fdb6e6

View file

@ -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() {