diff --git a/system/RestHandler.cfc b/system/RestHandler.cfc index 3c1aa0632..8b57e783b 100644 --- a/system/RestHandler.cfc +++ b/system/RestHandler.cfc @@ -62,6 +62,11 @@ component extends="EventHandler" { arguments.exception = e; this.onAuthenticationFailure( argumentCollection = arguments ); } + // Auth Issues + catch ( "NotAuthorized" e ) { + arguments.exception = e; + this.onAuthenticationFailure( argumentCollection = arguments ); + } // Token Decoding Issues catch ( "TokenInvalidException" e ) { arguments.exception = e;