Skip to content

Commit

Permalink
refactor(retrofit2): add more details to the SpinnakerConversionExcep…
Browse files Browse the repository at this point in the history
…tion's message
  • Loading branch information
kirangodishala committed Feb 12, 2025
1 parent 4e1a797 commit ca9c9c8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ public Response<T> execute() {
}
} catch (JsonProcessingException jpe) {
throw new SpinnakerConversionException(
"Failed to process response body", jpe, delegate.request());
"Failed to process response body: " + jpe.getOriginalMessage(),
jpe,
delegate.request());
} catch (IOException e) {
throw new SpinnakerNetworkException(e, delegate.request());
} catch (Exception e) {
Expand Down

0 comments on commit ca9c9c8

Please sign in to comment.