Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-06-27 22:41:23 +0300
committerClement Ho <ClemMakesApps@gmail.com>2017-06-28 00:10:13 +0300
commit5f5523c68a4b155f56424320e2dbf07088b351a2 (patch)
tree275863f5c20f2f990f1aa1280266d44cf36fe85d /lib
parentc5da65b9e33e711b5ccaf55ceec52523a97dc89f (diff)
Merge branch 'backport-system-check-fix' into 'master'
Make the SimpleExecutor rescue exceptions in the executing Checks See merge request !12487
Diffstat (limited to 'lib')
-rw-r--r--lib/system_check/simple_executor.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system_check/simple_executor.rb b/lib/system_check/simple_executor.rb
index dc2d4643a01..e5986612908 100644
--- a/lib/system_check/simple_executor.rb
+++ b/lib/system_check/simple_executor.rb
@@ -75,6 +75,8 @@ module SystemCheck
check.show_error
end
+ rescue StandardError => e
+ $stdout.puts "Exception: #{e.message}".color(:red)
end
private