Commit b6392cb1 authored by Piotr Skorupa's avatar Piotr Skorupa

Make rubocop happy

parent ba22f757
...@@ -20,7 +20,7 @@ module ServicePing ...@@ -20,7 +20,7 @@ module ServicePing
metrics.slice(*DevOpsReport::Metric::METRICS) metrics.slice(*DevOpsReport::Metric::METRICS)
) )
Gitlab::ErrorTracking.track_and_raise_for_dev_exception(ActiveRecord::RecordInvalid.new(report)) if !report.persisted? Gitlab::ErrorTracking.track_and_raise_for_dev_exception(ActiveRecord::RecordInvalid.new(report)) unless report.persisted?
end end
end end
end end
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