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
commit6772741d5446ca54479773fd55bc1d7b95e01104 (patch)
treef055524c10fd8cfe0dd1e6dcc9ae7c487ad4d121 /Library/Homebrew/utils.rb
parent2894f17a33ae1d11877b148c15748870d7a12cb3 (diff)
downloadhomebrew-6772741d5446ca54479773fd55bc1d7b95e01104.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)