summaryrefslogtreecommitdiff
path: root/app/controllers/ci/lints_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/ci/lints_controller.rb')
-rw-r--r--app/controllers/ci/lints_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/ci/lints_controller.rb b/app/controllers/ci/lints_controller.rb
index 7ed78ff8e98..e782a51e7eb 100644
--- a/app/controllers/ci/lints_controller.rb
+++ b/app/controllers/ci/lints_controller.rb
@@ -19,8 +19,10 @@ module Ci
@error = e.message
@status = false
rescue
- @error = "Undefined error"
+ @error = 'Undefined error'
@status = false
+ ensure
+ render :show
end
end
end