Better error handling for phantom run.

Uses a try catch on the compileRunner function call.