This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new a6c5e84  Include transcript with error
a6c5e84 is described below

commit a6c5e846dcf78d95882b2e35037582e1e3bc4a7b
Author: Sebb <[email protected]>
AuthorDate: Thu Jul 9 23:33:27 2020 +0100

    Include transcript with error
---
 lib/whimsy/asf/svn.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index e517429..332b520 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -474,7 +474,7 @@ module ASF
     # As for self.svn_, but failures cause a RuntimeError
     def self.svn_!(command, path, _, options = {})
       rc = self.svn_(command, path, _, options = options)
-      raise RuntimeError.new("exit code: #{rc}") if rc != 0
+      raise RuntimeError.new("exit code: #{rc}\n#{_.target!}") if rc != 0
       rc
     end
 

Reply via email to