Groovy web console

subscribe to the feed Subscribe
to this
site
JAM Demo example (via #groovywebconsole)
tweet this snippet Tweet
this
script

JAM Demo example

Published 3 months ago by Adam P.
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
// echo "Can you hear me now?"

try {
    x = 1 / 0
}
catch(err) {
    status_msg = "ignoring error ${err.toString()}"
}
finally {
    println(status_msg ?: "hello world!")
}