Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
remove exception in getExchange()
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwlee committed May 8, 2024
1 parent 23f2c27 commit 16b03d0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/src/http_client/tbdex_http_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ class TbdexHttpClient {
},
);

if (response.statusCode != 200) {
throw Exception('failed to fetch exchange: ${response.body}');
}

return response.statusCode == 200
? TbdexResponse(
data: Parser.parseExchange(response.body),
Expand Down

0 comments on commit 16b03d0

Please sign in to comment.