Skip to content

Commit

Permalink
Fix lint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Nov 14, 2023
1 parent b4e6538 commit 393fb7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/streaming_sync.dart
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ HttpException getError(http.Response response) {
final body = response.body;
final decoded = convert.jsonDecode(body);
final details = decoded['error']?['details']?[0] ?? body;
final message = '${response.reasonPhrase ?? "Request failed"}: ${details}';
final message = '${response.reasonPhrase ?? "Request failed"}: $details';
return HttpException(message, uri: response.request?.url);
} on Error catch (_) {
return HttpException(response.reasonPhrase ?? "Request failed",
Expand Down

0 comments on commit 393fb7d

Please sign in to comment.