Method: OkComputer::ActionMailerCheck#check
- Defined in:
- lib/ok_computer/built_in_checks/action_mailer_check.rb
#check ⇒ Object
Public: Return the status of the check
16 17 18 19 20 21 22 |
# File 'lib/ok_computer/built_in_checks/action_mailer_check.rb', line 16 def check tcp_socket_request "#{klass} check to #{host}:#{port} successful" rescue => e "#{klass} at #{host}:#{port} is not accepting connections: '#{e}'" mark_failure end |