DATAREST-706 - RepositoryExceptionHandler.handleMiscFailures(…) now passes exception instead of null.

Original pull request: #200.
This commit is contained in:
Artur M
2015-10-27 18:14:26 +05:00
committed by Oliver Gierke
parent c3d3caaebf
commit 284cdd9bc8

View File

@@ -95,7 +95,7 @@ public class RepositoryRestExceptionHandler {
ConversionFailedException.class, NullPointerException.class })
ResponseEntity<ExceptionMessage> handleMiscFailures(Exception o_O) {
return errorResponse(HttpStatus.INTERNAL_SERVER_ERROR, new HttpHeaders(), null);
return errorResponse(HttpStatus.INTERNAL_SERVER_ERROR, new HttpHeaders(), o_O);
}
/**