bin/remote_syslog in remote_syslog-1.6.1 vs bin/remote_syslog in remote_syslog-1.6.2
- old
+ new
@@ -1,6 +1,10 @@
#!/usr/bin/env ruby
require 'remote_syslog'
require 'remote_syslog/cli'
+EM.error_handler { |e|
+ puts "Unhandled Exception: #{e.class}: #{e.message}:\n\t#{e.backtrace.join("\n\t")}"
+}
+
RemoteSyslog::Cli.process!(ARGV)