We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e4c0f0 commit b2f74a3Copy full SHA for b2f74a3
test/dummy/config/environments/development.rb
@@ -58,4 +58,7 @@
58
# config.action_cable.disable_request_forgery_protection = true
59
60
config.solid_queue.logger = ActiveSupport::Logger.new(nil)
61
+
62
+ logger = ActiveSupport::Logger.new(STDOUT)
63
+ config.solid_queue.on_thread_error = ->(exception) { logger.error("#{exception.class.name}: #{exception.message}\n#{(exception.backtrace || caller)&.join("\n")}") }
64
end
0 commit comments