Skip to content

Commit

Permalink
fix(client): translateNetworkFailure when no route to host
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauri Svan authored and micimize committed Jul 24, 2020
1 parent 23ce0c4 commit 877bdb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ stub.NetworkException translateNetworkFailure(dynamic failure) {
message: failure.message,
uri: Uri(
scheme: 'http',
host: failure.address.host,
host: failure.address?.host,
port: failure.port,
),
);
Expand Down

0 comments on commit 877bdb8

Please sign in to comment.