Skip to content

Commit

Permalink
Merge pull request #531 from iterate-ch/issue/284
Browse files Browse the repository at this point in the history
Fix #284.
  • Loading branch information
lookfirst authored Jan 10, 2025
2 parents d17b2e0 + 03991c7 commit 1f44a60
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 1f44a60

Please sign in to comment.