Added error handler for bug bolt client crash on 500 error.