Skip to content

Commit 4f66278

Browse files
author
graeme
committed
fix for GRAILS-1700
git-svn-id: https://svn.codehaus.org/grails/trunk@5756 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent fc78b8d commit 4f66278

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/Console.groovy

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,10 @@ target(console:"The console implementation target") {
5757
v.destroy()
5858
}
5959
}
60-
c.run()
60+
try {
61+
c.run()
62+
while(true) { sleep(Long.MAX_VALUE) }
63+
} catch (Exception e) {
64+
event("StatusFinal", ["Error starting console: ${e.message}"])
65+
}
6166
}

0 commit comments

Comments
 (0)