GRAILS-8426 - fix exception handling for closure actions with command objects