diff options
| author | Jack Nagel | 2014-02-16 22:24:33 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-02-16 22:24:33 -0500 |
| commit | f7cda3cdb6656a867a2d760d70a199892fde8ce2 (patch) | |
| tree | dba1b9f22345d76022efb33aa1d704dd0fde2899 | |
| parent | 6fd0125ad9e2fc4eab2639f57136d8b15cffd744 (diff) | |
| download | brew-f7cda3cdb6656a867a2d760d70a199892fde8ce2.tar.bz2 | |
Make GitHub::Error a RuntimeError to suppress backtrace
| -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) |
