Remove raising error at erase_old_trace!
This commit is contained in:
parent
334ed9c529
commit
a52b1f2446
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue