Remove raising error at erase_old_trace!

This commit is contained in:
Shinya Maeda 2018-07-06 15:25:59 +09:00
parent 334ed9c529
commit a52b1f2446
1 changed files with 1 additions and 1 deletions

View File

@ -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