Better error handling for phantom run.
Merge pull request #6 from dflynn15/phantom-errors

Better error handling for phantom run.