forked from octokit/octokit.rb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When an error occurs, the last_response does not get updated so it's possible to start inspecting the last last response. This change makes it so that if an error is raised, clear the last_response cache to prevent leaky reads
- Loading branch information
Jack Li
committed
May 21, 2020
1 parent
9560329
commit b0e85f2
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters