Move rescue_heroku_errors to instance method