Skip to content

1. Added to_s to adcloudapi exception so that we can just output ex and ...#7

Merged
rosscdh merged 1 commit into
masterfrom
better-exceptions
Jun 10, 2013
Merged

1. Added to_s to adcloudapi exception so that we can just output ex and ...#7
rosscdh merged 1 commit into
masterfrom
better-exceptions

Conversation

@rosscdh
Copy link
Copy Markdown
Contributor

@rosscdh rosscdh commented Jun 7, 2013

  1. Added to_s to adcloudapi exception so that we can just output ex and not ex.message (seems to be what everyone is doing and will help with debugging)
  2. Added better exception handling.. in the else case the api was simply returning a standard error with the response.status.. which is pretty useless in some cases (ssl,timeouts,etc) so now it throws ab UnknownError that acts in the standard adcloud manner

…nd not ex.message (seems to be what everyone is doing and will help with debugging)

2. Added better exception handling.. in the else case the api was simply returning a standard error with the response.status.. which is pretty useless in some cases (ssl,timeouts,etc) so now it throws ab UnknownError that acts in the standard adcloud manner
@ghost ghost assigned martinotten Jun 7, 2013
@theAl
Copy link
Copy Markdown
Contributor

theAl commented Jun 10, 2013

LGTM :shipit:

rosscdh added a commit that referenced this pull request Jun 10, 2013
1. Added to_s to adcloudapi exception so that we can just output ex and ...
@rosscdh rosscdh merged commit 21fbecd into master Jun 10, 2013
@rosscdh rosscdh deleted the better-exceptions branch June 10, 2013 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants