diff options
Diffstat (limited to 'lib/bundler/errors.rb')
-rw-r--r-- | lib/bundler/errors.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/bundler/errors.rb b/lib/bundler/errors.rb index 69eb57e844..1f0f5f8201 100644 --- a/lib/bundler/errors.rb +++ b/lib/bundler/errors.rb @@ -30,7 +30,12 @@ module Bundler class GemspecError < BundlerError; status_code(14); end class InvalidOption < BundlerError; status_code(15); end class ProductionError < BundlerError; status_code(16); end - class HTTPError < BundlerError; status_code(17); end + class HTTPError < BundlerError + status_code(17) + def filter_uri(uri) + URICredentialsFilter.credential_filtered_uri(uri) + end + end class RubyVersionMismatch < BundlerError; status_code(18); end class SecurityError < BundlerError; status_code(19); end class LockfileError < BundlerError; status_code(20); end |