Changeset 1733
- Timestamp:
- Apr 8, 2011, 3:24:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/StudyWizardController.groovy
r1732 r1733 1093 1093 1094 1094 // persist data to the database 1095 //try {1095 try { 1096 1096 // save study 1097 1097 // Grom a development message … … 1110 1110 1111 1111 success() 1112 //} catch (Exception e) {1112 } catch (Exception e) { 1113 1113 // rollback 1114 //this.appendErrorMap(['exception': e.toString() + ', see log for stacktrace' ], flash.wizardErrors)1114 this.appendErrorMap(['exception': e.toString() + ', see log for stacktrace' ], flash.wizardErrors) 1115 1115 1116 1116 // stacktrace in flash scope 1117 //flash.debug = e.getStackTrace()1118 1119 //error()1120 //}1117 flash.debug = e.getStackTrace() 1118 1119 error() 1120 } 1121 1121 } 1122 1122 on("error").to "error"
Note: See TracChangeset
for help on using the changeset viewer.