Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Bug 961785 - Cartridge URL install failed
Browse files Browse the repository at this point in the history
* Insufficient output to debug
  • Loading branch information
jwhonce committed May 16, 2013
1 parent 6945197 commit f9377bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions node/lib/openshift-origin-node/model/v2_cart_model.rb
Expand Up @@ -292,6 +292,10 @@ def post_configure(cartridge_name)

logger.info("post-configure output: #{output}")
output
rescue Utils::ShellExecutionException => e
stdout = e.stdout.split("\n").map { |l| l.start_with?('CLIENT_') ? l : "CLIENT_MESSAGE: #{l}" }.join("\n")
stderr = e.stderr.split("\n").map { |l| l.start_with?('CLIENT_') ? l : "CLIENT_ERROR: #{l}" }.join("\n")
raise Utils::ShellExecutionException.new(e.message, 157, stdout, stderr)
end

# deconfigure(cartridge_name) -> nil
Expand Down

0 comments on commit f9377bc

Please sign in to comment.