Skip to content

Commit

Permalink
COLDBOX-1267 #resolve
Browse files Browse the repository at this point in the history
Lucee only isEmpty function call
  • Loading branch information
lmajano authored Jan 12, 2024
1 parent eac0272 commit c6e2398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/RestHandler.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ component extends="EventHandler" {
){
// Try to discover exception, if not, hard error
if (
!isNull( arguments.prc.exception ) && ( isNull( arguments.exception ) || isEmpty( arguments.exception ) )
!isNull( arguments.prc.exception ) && ( isNull( arguments.exception ) || structIsEmpty( arguments.exception ) )
) {
arguments.exception = arguments.prc.exception.getExceptionStruct();
}
Expand Down

0 comments on commit c6e2398

Please sign in to comment.