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

rubys 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 2edee6e  make exception more accurate and useful
2edee6e is described below

commit 2edee6e2f9f3065eef3eae6a8eb08c007c1fc9f3
Author: Sam Ruby <[email protected]>
AuthorDate: Sun Nov 24 17:48:50 2019 -0500

    make exception more accurate and useful
---
 lib/whimsy/asf/svn.rb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 473c81b..2722e81 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -107,7 +107,13 @@ module ASF
       result = self.find(name)
 
       if not result
-        raise Exception.new("Unable to find svn checkout for #{@base + name}")
+        entry = repo_entry(name)
+        if entry
+          raise Exception.new("Unable to find svn checkout for " +
+            "#{@base+entry['url']} (#{name})")
+        else
+          raise Exception.new("Unable to find svn checkout for #{name}")
+        end
       end
 
       result

Reply via email to