Commit 3dabcb3f authored by Gary Holtz's avatar Gary Holtz

Fixing one more spec

parent d649c2b9
...@@ -95,7 +95,7 @@ module Gitlab ...@@ -95,7 +95,7 @@ module Gitlab
def add_highlight_attempt_metric def add_highlight_attempt_metric
return unless Feature.enabled?(:track_highlight_timeouts) return unless Feature.enabled?(:track_highlight_timeouts)
highlighting_attempt.increment(source: @language || "undefined") highlighting_attempt.increment(source: @language.try(:language) || "undefined")
end end
def add_highlight_timeout_metric def add_highlight_timeout_metric
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment