lib/instrumental/agent.rb in instrumental_agent-0.11.0 vs lib/instrumental/agent.rb in instrumental_agent-0.11.1
- old
+ new
@@ -382,11 +382,11 @@
sync_resource.signal
end
end
end
rescue Exception => err
- logger.debug err.to_s
- logger.debug err.backtrace.join("\n")
+ logger.error "Instrumental Error: #{err}"
+ logger.error err.backtrace.join("\n")
if @allow_reconnect == false ||
(command_options && command_options[:allow_reconnect] == false)
logger.error "Not trying to reconnect"
return
end