added linkedin error handler