lib/learn_web/client/pull_request/response.rb in learn-web-1.4.1 vs lib/learn_web/client/pull_request/response.rb in learn-web-1.4.2

- old
+ new

@@ -17,9 +17,13 @@ self.status = data.status begin body = Oj.load(data.body, symbol_keys: true) self.message = body[:message] + + if self.message && self.message.match(/verified your email/) + abort self.message + end rescue self.message = 'Sorry, something went wrong. Please try again.' end end end