diff --git a/system/RestHandler.cfc b/system/RestHandler.cfc index 85bc89847..cc9f0d932 100644 --- a/system/RestHandler.cfc +++ b/system/RestHandler.cfc @@ -176,7 +176,9 @@ component extends="EventHandler" { ){ // Try to discover exception, if not, hard error if ( - !isNull( arguments.prc.exception ) && ( isNull( arguments.exception ) || structIsEmpty( arguments.exception ) ) + !isNull( arguments.prc.exception ) && ( + isNull( arguments.exception ) || structIsEmpty( arguments.exception ) + ) ) { arguments.exception = arguments.prc.exception.getExceptionStruct(); }