Skip to content

Commit

Permalink
[SHIBUI-838]
Browse files Browse the repository at this point in the history
Added a TODO to review our 404 handler.
  • Loading branch information
Bill Smith committed Nov 29, 2018
1 parent 4b9d03c commit c3e29b2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public MetadataResolver findResolverOrThrowHttp404(String resolverResourceId) {
return resolver;
}

//TODO: Review this handler and update accordingly. Do we still need it?
@ExceptionHandler(HttpClientErrorException.class)
public ResponseEntity<?> notFoundHandler(HttpClientErrorException ex) {
if(ex.getStatusCode() == NOT_FOUND) {
Expand Down

0 comments on commit c3e29b2

Please sign in to comment.