The exception was no longer used
This commit is contained in:
parent
9096647ff6
commit
37cc3aaefb
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ class ApplicationSetting < ActiveRecord::Base
|
||||||
errors.add(:default_artifacts_expiration,
|
errors.add(:default_artifacts_expiration,
|
||||||
"can't be 0. Leave it blank for no expiration")
|
"can't be 0. Leave it blank for no expiration")
|
||||||
end
|
end
|
||||||
rescue ChronicDuration::DurationParseError => e
|
rescue ChronicDuration::DurationParseError
|
||||||
errors.add(:default_artifacts_expiration, "is invalid")
|
errors.add(:default_artifacts_expiration, "is invalid")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue