Sha256: 7cbc701003f932246e40eae5b6fe4e7b1f745e900656b57fe19868fc61cc780f
Contents?: true
Size: 365 Bytes
Versions: 1
Compression:
Stored size: 365 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 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.12 | lib/procon_bypass_man/commands/send_error_command.rb |