Sha256: bf097685060c8b0b9f0ef779b2f4956f21b6ccfe5623ab9050054c0de0a2da79
Contents?: true
Size: 427 Bytes
Versions: 19
Compression:
Stored size: 427 Bytes
Contents
class ProconBypassMan::SendErrorCommand # @param [String, Hash, Exception] error # @return [void] def self.execute(error: , stdout: true) body = case error when String, Hash error else error.full_message end ProconBypassMan.logger.error body ProconBypassMan.error_logger.error body puts body if stdout ProconBypassMan::ReportErrorJob.perform(error) end end
Version data entries
19 entries across 19 versions & 1 rubygems