bin/proxymachine in proxymachine-0.2.7 vs bin/proxymachine in proxymachine-0.2.8
- old
+ new
@@ -36,10 +36,10 @@
ProxyMachine.run(name, options[:host], options[:port])
rescue Exception => e
if e.instance_of?(SystemExit)
raise
else
- puts 'Uncaught exception'
- puts e.message
- puts e.backtrace.join("\n")
+ LOGGER.info 'Uncaught exception'
+ LOGGER.info e.message
+ LOGGER.info e.backtrace.join("\n")
end
end
\ No newline at end of file