Skip to content

Commit

Permalink
Return the result if the completion cannot be parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbrooks committed Oct 3, 2023
1 parent 47b9af9 commit e83429a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ internal class GRPCInterceptor(
trailers = trailers,
)
} else {
val exception = ConnectException(result.code)
StreamResult.Complete(exception.code, exception, trailers)
result
}
},
)
Expand Down

0 comments on commit e83429a

Please sign in to comment.