Method: ProxyStack.self::Controller#log_http_error?

Defined in:
lib/proxy_stack/proxy_stack.rb

#log_http_error?(error) ⇒ Boolean

Returns:

  • (Boolean)


89
90
91
92
93
94
95
96
# File 'lib/proxy_stack/proxy_stack.rb', line 89

def log_http_error?(error)
  case error
  when Pancake::Errors::NotFound
    false
  else
    true
  end
end