write error log path to sout when phantomjs is failing #334