Skip to content
Snippets Groups Projects
Commit 37cc3aae authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

The exception was no longer used

parent 9096647f
No related branches found
No related tags found
1 merge request!9219Artifact Expiration Defaults
Loading
Loading
@@ -311,7 +311,7 @@ class ApplicationSetting < ActiveRecord::Base
errors.add(:default_artifacts_expiration,
"can't be 0. Leave it blank for no expiration")
end
rescue ChronicDuration::DurationParseError => e
rescue ChronicDuration::DurationParseError
errors.add(:default_artifacts_expiration, "is invalid")
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment