lib/admqr_knife.rb in admqr_knife-0.1.3 vs lib/admqr_knife.rb in admqr_knife-0.1.4
- old
+ new
@@ -32,16 +32,15 @@
extra = options[:extra]
CubeService.post('/api/knifes/statis',
{ unique_code: unique_code,
client_ua: ua,
referer: referer,
- extra: extra,
tag: tag,
extra: extra,
new_to_visit: new_to_visit,
remote_ip: remote_ip }.reject! { |_k, v| v.nil? })
rescue StandardError => e
- logger.error e.message
+ logger.error "AdmqrKnife Gem Error: #{e.message}"
end
private
def select_logger