Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
ARUHA-961: fixed exception handler;
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyacheslav Stepanov committed Aug 4, 2017
1 parent 6ae5815 commit 9683c3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public ResponseEntity<Problem> handleInvalidStreamId(final InvalidStreamIdExcept
@ExceptionHandler({
UnableProcessException.class,
CursorUnavailableException.class})
public ResponseEntity<Problem> handleUnableProcessException(final UnableProcessException ex,
public ResponseEntity<Problem> handleUnableProcessException(final RuntimeException ex,
final NativeWebRequest request) {
LOG.debug(ex.getMessage(), ex);
return Responses.create(MoreStatus.UNPROCESSABLE_ENTITY, ex.getMessage(), request);
Expand Down

0 comments on commit 9683c3c

Please sign in to comment.