mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Make sure we log the backtrace as well.
This commit is contained in:
parent
5b73da9c87
commit
4b3b54da70
@ -64,7 +64,7 @@ class SocketServer
|
||||
rescue IOError, Errno::EPIPE
|
||||
# nothing to do here, case its normal on shutdown
|
||||
rescue => e
|
||||
Rails.logger.warn("Failed to handle connection in stats socket #{e}")
|
||||
Rails.logger.warn("Failed to handle connection in stats socket #{e}:\n#{e.backtrace.join("\n")}")
|
||||
ensure
|
||||
socket&.close rescue nil
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user