Skip to content

Commit

Permalink
Fix #284.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Jan 10, 2025
1 parent d17b2e0 commit 03991c7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public Multistatus handleResponse(HttpResponse response) throws IOException
}
catch(IOException e) {
// JAXB error unmarshalling response stream
throw new SardineException(e.getMessage(), statusLine.getStatusCode(), statusLine.getReasonPhrase());
final SardineException sardineException = new SardineException(e.getMessage(), statusLine.getStatusCode(), statusLine.getReasonPhrase());
sardineException.initCause(e);
throw sardineException;
}
}

Expand Down

0 comments on commit 03991c7

Please sign in to comment.