You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throwFormatException('Empty response received from server');
}
But even in case of HTTP error, response contains a valid JSON body so it will failed in the caller of callRpcEndpoint when trying to deserialize the returned value.
An explicit error should be raised when HTTP status code is an error.
The text was updated successfully, but these errors were encountered:
HTTP status code from Avnu RPC endpoint response is not checked: there is only a check if JSON is well formatted.
starknet.dart/packages/avnu_provider/lib/src/call_rpc_endpoint.dart
Lines 131 to 137 in d11675e
But even in case of HTTP error, response contains a valid JSON body so it will failed in the caller of
callRpcEndpoint
when trying to deserialize the returned value.An explicit error should be raised when HTTP status code is an error.
The text was updated successfully, but these errors were encountered: