Sha256: c92f7c02bb077a59405926ae2f88b148b4102c2e65e4ca2b42402d4f6908a6ba
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 Bytes
Contents
class ProconBypassMan::SendErrorCommand # @param [String, Hash, Exception] error # @return [void] def self.execute(error: ) body = case error when String, Hash error else error.full_message end ProconBypassMan.logger.error body ProconBypassMan.error_logger.error body puts body ProconBypassMan::ReportErrorJob.perform_async(error) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
procon_bypass_man-0.1.13 | lib/procon_bypass_man/commands/send_error_command.rb |