1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add a process logging file that the config.ru file can require to configure EM and Celluloid logging

This commit is contained in:
David Heinemeier Hansson 2015-07-08 22:47:41 +02:00
parent e584f49e86
commit 0e7175d1e9

View file

@ -0,0 +1,6 @@
EM.error_handler do |e|
puts "Error raised inside the event loop: #{e.message}"
puts e.backtrace.join("\n")
end
Celluloid.logger = ActionCable.server.logger