Open pteasima opened 6 years ago
steps to reproduce: make a failed URL request using etherKit, e.g. give it a url that isnt running a node
expected: callback is called with the Result containing .failure(theNetworkingError)
.failure(theNetworkingError)
actual: callback is never called https://github.com/Vaultio/EtherKit/blob/master/EtherKit/RequestProtocols/URLRequestManager.swift line 35 just returns.
notes: I found another place where this can theoretically happen https://github.com/Vaultio/EtherKit/blob/master/EtherKit/RequestProtocols/RequestManager.swift line 45 , there may be others
Acknowledged! Thanks @pteasima!
steps to reproduce: make a failed URL request using etherKit, e.g. give it a url that isnt running a node
expected: callback is called with the Result containing
.failure(theNetworkingError)
actual: callback is never called https://github.com/Vaultio/EtherKit/blob/master/EtherKit/RequestProtocols/URLRequestManager.swift line 35 just returns.
notes: I found another place where this can theoretically happen https://github.com/Vaultio/EtherKit/blob/master/EtherKit/RequestProtocols/RequestManager.swift line 45 , there may be others