Module: Appsignal::Integrations::PumaServerHelper
- Defined in:
- lib/appsignal/integrations/puma.rb
Constant Summary collapse
- IGNORED_ERRORS =
[ # Ignore internal Puma Client IO errors # https://github.com/puma/puma/blob/9ee922d28e1fffd02c1d5480a9e13376f92f46a3/lib/puma/server.rb#L536-L544 "Puma::MiniSSL::SSLError", "Puma::HttpParserError", "Puma::HttpParserError501" ].freeze
Class Method Summary collapse
Class Method Details
.ignored_error?(error) ⇒ Boolean
40 41 42 |
# File 'lib/appsignal/integrations/puma.rb', line 40 def self.ignored_error?(error) IGNORED_ERRORS.include?(error.class.to_s) end |