Skip to content
Snippets Groups Projects
Commit f7cda3cd authored by Jack Nagel's avatar Jack Nagel
Browse files

Make GitHub::Error a RuntimeError to suppress backtrace

parent 6fd0125a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment