devtools: handle script task panics gracefully in ConsoleActor.