You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: grails-plugin-domain-class/src/main/groovy/org/grails/plugins/domain/support/GrailsDomainClassCleaner.groovy
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -43,13 +43,13 @@ class GrailsDomainClassCleaner implements ApplicationListener<ContextClosedEvent
43
43
if(GormEntity.isAssignableFrom(clz)) {
44
44
try {
45
45
clz.initInternalApi null
46
-
} catch (e) {
47
-
log.warn("Error clearing instance api property in ${clz.name}", e)
46
+
} catch (Throwablee) {
47
+
// ignore, GORM 5 doesn't have these methods
48
48
}
49
49
try {
50
50
clz.initInternalStaticApi null
51
-
} catch (e) {
52
-
log.warn("Error clearing static api property in ${clz.name}", e)
0 commit comments