diff options
author | Guilherme Garnier <guilherme.garnier@gmail.com> | 2015-10-03 08:56:37 +0300 |
---|---|---|
committer | Guilherme Garnier <guilherme.garnier@gmail.com> | 2015-10-03 08:56:37 +0300 |
commit | 2b075f16c7e867ae19a79fb7c59ca6754f9df7bf (patch) | |
tree | 8cc69512641e1d367a8e436018b21a2697b3677b /app/controllers/ci | |
parent | 0406455c8a9094d7849f586a473cf6f5d3253f10 (diff) |
Fix rubocop warnings in app
Diffstat (limited to 'app/controllers/ci')
-rw-r--r-- | app/controllers/ci/lints_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/ci/lints_controller.rb b/app/controllers/ci/lints_controller.rb index a81e4e319ff..24dd1b5c93a 100644 --- a/app/controllers/ci/lints_controller.rb +++ b/app/controllers/ci/lints_controller.rb @@ -18,7 +18,7 @@ module Ci rescue Ci::GitlabCiYamlProcessor::ValidationError => e @error = e.message @status = false - rescue Exception => e + rescue Exception @error = "Undefined error" @status = false end |