diff --git a/lib/ddtrace/contrib/rails/action_controller.rb b/lib/ddtrace/contrib/rails/action_controller.rb index 8854c440ed7..08784f95b6c 100644 --- a/lib/ddtrace/contrib/rails/action_controller.rb +++ b/lib/ddtrace/contrib/rails/action_controller.rb @@ -54,7 +54,7 @@ def self.process_action(_name, start, finish, _id, payload) status = payload.fetch(:status, '?').to_s if status.starts_with?('5') span.status = 1 - span.set_tag(Datadog::Ext::Errors::STACK, caller().join('\n')) + span.set_tag(Datadog::Ext::Errors::STACK, caller().join("\n")) end span.set_tag(Datadog::Ext::HTTP::STATUS_CODE, status) else