diff options
| author | Jack Nagel | 2014-02-16 22:24:33 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-02-16 22:24:33 -0500 |
| commit | 6772741d5446ca54479773fd55bc1d7b95e01104 (patch) | |
| tree | f055524c10fd8cfe0dd1e6dcc9ae7c487ad4d121 /Library | |
| parent | 2894f17a33ae1d11877b148c15748870d7a12cb3 (diff) | |
| download | homebrew-6772741d5446ca54479773fd55bc1d7b95e01104.tar.bz2 | |
Make GitHub::Error a RuntimeError to suppress backtrace
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 1377191df..efc4d93a6 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -251,7 +251,7 @@ end module GitHub extend self ISSUES_URI = URI.parse("https://api.github.com/search/issues") - Error = Class.new(StandardError) + Error = Class.new(RuntimeError) RateLimitExceededError = Class.new(Error) HTTPNotFoundError = Class.new(Error) AuthenticationFailedError = Class.new(Error) |
