Get reason for errors in PhantomJS

Made some little change to get better log for errors.
However seems that linkedin keep blocking the bot? New policies?