Skip to content

Commit d6449a4

Browse files
committed
Changed error handling in load and controller to bubble up and return a 207 status code
1 parent aed970c commit d6449a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

memex/templates/controller/Controller.java.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public class __className__Controller {
9696
return new ResponseEntity<>(returnValue, HttpStatus.MULTI_STATUS);
9797
} catch (Exception e) {
9898
LOG.error(e.getMessage());
99-
}
99+
}
100100
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).build();
101101
}
102102

0 commit comments

Comments
 (0)