Sha256: 682841ce0a4a32ea63f87e24b5e42464540d18726a1bf73e2b5eba66a9f76f9c

Contents?: true

Size: 796 Bytes

Versions: 57

Compression:

Stored size: 796 Bytes

Contents

module Honeybadger
  module CLI
    module Helpers
      module BackendCmd
        def error_message(response)
          host = config.get(:'connection.host')
          <<-MSG
!! --- Honeybadger request failed --------------------------------------------- !!

We encountered an error when contacting the server:

  #{response.error_message}

To fix this issue, please try the following:

  - Make sure the gem is configured properly.
  - Retry executing this command a few times.
  - Make sure you can connect to #{host} (`curl https://#{host}/v1/notices`).
  - Email support@honeybadger.io for help. Include as much debug info as you
    can for a faster resolution!

!! --- End -------------------------------------------------------------------- !!
MSG
        end
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
honeybadger-5.26.2 lib/honeybadger/cli/helpers.rb
honeybadger-5.26.1 lib/honeybadger/cli/helpers.rb
honeybadger-5.26.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.25.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.24.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.23.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.22.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.21.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.20.1 lib/honeybadger/cli/helpers.rb
honeybadger-5.20.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.19.2 lib/honeybadger/cli/helpers.rb
honeybadger-5.19.1 lib/honeybadger/cli/helpers.rb
honeybadger-5.19.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.18.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.17.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.16.0 lib/honeybadger/cli/helpers.rb
honeybadger-5.15.6 lib/honeybadger/cli/helpers.rb
honeybadger-5.15.5 lib/honeybadger/cli/helpers.rb
honeybadger-5.15.4 lib/honeybadger/cli/helpers.rb
honeybadger-5.15.3 lib/honeybadger/cli/helpers.rb