Move rescue_heroku_errors to class method instead of instance one