Method: Lsslog::Services::V2::Base.call
- Defined in:
- lib/lsslog/services/v2/base.rb
.call(*args) ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/lsslog/services/v2/base.rb', line 14 def self.call(*args) response = new.call(*args) Lsslog.logger.info "#{self.name.demodulize}: #{response.to_json}" response rescue GRPC::BadStatus => e Lsslog.logger.info "ERROR: #{e.message}" end |