devtools: handle script task panics gracefully in ConsoleActor.

r? @jdm