New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds special handling and logger when the API response is malformed #1
Closed
hsume2
wants to merge 6 commits into
hsume2/v5.14.0
from
fix_collecting_nil_body
base: hsume2/v5.14.0
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
04c97bd
Trying to get specs to pass first.
hsume2 ebe2561
Update rubocop and travis
hsume2 3ddf7ea
Disable rubocop for now.
hsume2 2ff3c31
Adds special handling and logger when the API response is malformed
hsume2 c81650a
Review fixes.
hsume2 bb86a2c
Adds additional status code logging.
hsume2 File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
Diff settings
32
.rubocop.yml
20
.travis.yml
| @@ -1,22 +1,28 @@ | |||
| bundler_args: --without development | |||
| env: | |||
| global: | |||
| - JRUBY_OPTS="$JRUBY_OPTS --debug" | |||
| cache: bundler | |||
|
|
|||
| language: ruby | |||
|
|
|||
| rvm: | |||
| - 1.8.7 | |||
| - 1.9.3 | |||
| - 2.0.0 | |||
| - 2.1 | |||
| - jruby-18mode | |||
| - 2.2 | |||
| - jruby-19mode | |||
| - jruby-head | |||
| - rbx-2 | |||
| - ruby-head | |||
|
|
|||
| sudo: false | |||
|
|
|||
| bundler_args: --without development --retry=3 --jobs=3 | |||
|
|
|||
| env: | |||
| global: | |||
| - JRUBY_OPTS="$JRUBY_OPTS --debug" | |||
|
|
|||
| matrix: | |||
| allow_failures: | |||
| - rvm: jruby-head | |||
| - rvm: rbx-2 | |||
| - rvm: ruby-head | |||
| fast_finish: true | |||
| sudo: false | |||
ProTip!
Use n and p to navigate between commits in a pull request.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
I think we should have additional logging inside this method as well, to get a clearer idea of what exactly the response was as soon as we got it without the twitter gem playing around with it.