Commit 4b232896 authored by Komal Makkar's avatar Komal Makkar
Browse files

Merge branch 'master' of...

Merge branch 'master' of into users/komakkar/EventGridAuth
parents 666bad62 2cd2d058
Pipeline #21952 failed with stages
in 57 seconds
......@@ -79,9 +79,8 @@ public class SpringExceptionMapper extends ResponseEntityExceptionHandler {
private ResponseEntity<Object> getErrorResponse(AppException e) {
if( e.getCause() instanceof Exception) {
Exception original = (Exception) e.getCause();
this.log.error(original.getMessage(), original);
if(e.getOriginalException()!= null) {
this.log.error(e.getOriginalException().getMessage(), e.getOriginalException());
if (e.getError().getCode() > 499) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment