Skip to content

Commit

Permalink
Fix formatting in ConnectionFailed error message
Browse files Browse the repository at this point in the history
Add space at the end of the second line so the complete message separates the word `not` and `working`

message before
```
Stripe::APIConnectionError: Unexpected error communicating when trying to connect to Stripe. You may be seeing this message because your DNS is notworking.  To check, try running `host stripe.com` from the command line.
```
message after
```
Stripe::APIConnectionError: Unexpected error communicating when trying to connect to Stripe. You may be seeing this message because your DNS is not working.  To check, try running `host stripe.com` from the command line.
```
  • Loading branch information
jcsrb authored Jun 28, 2019
1 parent 2cc7714 commit 212ca4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stripe/stripe_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def decode(_str)
case error
when Faraday::ConnectionFailed
message = "Unexpected error communicating when trying to connect to " \
"Stripe. You may be seeing this message because your DNS is not" \
"Stripe. You may be seeing this message because your DNS is not " \
"working. To check, try running `host stripe.com` from the " \
"command line."

Expand Down

0 comments on commit 212ca4b

Please sign in to comment.