mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-10 09:33:05 +00:00
Provide better error message
This commit is contained in:
parent
4e5de78985
commit
4f19a3c9d3
@ -90,7 +90,7 @@ method close*(subscriptions: JsonRpcSubscriptions) {.async: (raises: []), base.}
|
||||
try:
|
||||
await subscriptions.unsubscribe(id)
|
||||
except CatchableError as e:
|
||||
error "WS unsubscription failed", error = e.msg, id = id
|
||||
error "JsonRpc unsubscription failed", error = e.msg, id = id
|
||||
|
||||
proc getCallback(subscriptions: JsonRpcSubscriptions,
|
||||
id: JsonNode): ?SubscriptionCallback {. raises:[].} =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user