DATAREST-706 - RepositoryExceptionHandler.handleMiscFailures(…) now passes exception instead of null.
Original pull request: #200.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user