Default Grails GORM Domain Class Failures to Display

Posted 11/29/2016 3:49 PM by Corey Klass

By default, when a GORM .save() function call fails, it fails silently. If you want it to always throw an error, add this to your /grails-app/conf/application.yml file at the bottom.

---
grails:
  gorm:
    failOnError: true