Commit a52b1f24 authored by Shinya Maeda's avatar Shinya Maeda

Remove raising error at erase_old_trace!

parent 334ed9c5
......@@ -399,7 +399,7 @@ module Ci
end
def erase_old_trace!
raise Gitlab::Ci::Trace::EraseError, 'Old trace does not exist' unless has_old_trace?
return unless has_old_trace?
update_column(:trace, nil)
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