Skip to content
Snippets Groups Projects
Commit 46a0093e authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Merge branch 'sh-improve-geo-replicate-error-message' into 'master'

Improve `gitlab-ctl replicate-geo-database` error messages

Closes gitlab-ee#2176

See merge request !1557
parents 9e2433ae ef6f26b1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -162,8 +162,9 @@ class ReplicateGeoHelpers
def run_command(cmd, live: false)
status = GitlabCtl::Util.run_command(cmd, live: live)
if status.error?
puts status.stdout
puts status.stderr
puts "[ERROR] Failed to execute: #{cmd}".color(:red)
puts "[ERROR] Failed to execute: #{cmd} -- be sure to run this command as root".color(:red)
puts
exit 1
end
Loading
Loading
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