aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorJack Nagel2014-02-16 22:24:33 -0500
committerJack Nagel2014-02-16 22:24:33 -0500
commitf7cda3cdb6656a867a2d760d70a199892fde8ce2 (patch)
treedba1b9f22345d76022efb33aa1d704dd0fde2899 /Library/Homebrew/utils.rb
parent6fd0125ad9e2fc4eab2639f57136d8b15cffd744 (diff)
downloadbrew-f7cda3cdb6656a867a2d760d70a199892fde8ce2.tar.bz2
Make GitHub::Error a RuntimeError to suppress backtrace
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb2
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)