diff --git a/lib/redmine_git_hosting/shell_redirector.rb b/lib/redmine_git_hosting/shell_redirector.rb index 56595f7a6..c42564288 100644 --- a/lib/redmine_git_hosting/shell_redirector.rb +++ b/lib/redmine_git_hosting/shell_redirector.rb @@ -48,8 +48,8 @@ def execute(cmd_str, repo_id, options = {}, &block) end if status && status.exitstatus.to_i != 0 - logger.error("Git exited with non-zero status : #{status.exitstatus}") - raise Redmine::Scm::Adapters::XitoliteAdapter::ScmCommandAborted, "Git exited with non-zero status : #{status.exitstatus}" + logger.error("Git exited with non-zero status : #{status.exitstatus} : #{cmd_str}") + raise Redmine::Scm::Adapters::XitoliteAdapter::ScmCommandAborted, "Git exited with non-zero status : #{status.exitstatus} : #{cmd_str}" end return retio