Sha256: 8327b6cbcb57485a60cca2893e4d0356d33ca741b3cf1f383f5ce26ea212c689
Contents?: true
Size: 398 Bytes
Versions: 9
Compression:
Stored size: 398 Bytes
Contents
class ProconBypassMan::SendWarningCommand # @param [String, Hash, Exception] warning # @return [void] def self.execute(warning: , stdout: true) body = case warning when String, Hash warning else warning.full_message end ProconBypassMan.logger.warn body puts body if stdout ProconBypassMan::ReportWarningJob.perform(warning) end end
Version data entries
9 entries across 9 versions & 1 rubygems