From 2e30c3bef1a4ca666a0e9bdb09cb695ac1beccb2 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Wed, 18 Apr 2007 14:35:11 +0000 Subject: [PATCH] let's not eat the error message. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3160 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/scm/SubversionSCM.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/scm/SubversionSCM.java b/core/src/main/java/hudson/scm/SubversionSCM.java index 66def2affd..c122a1eef0 100644 --- a/core/src/main/java/hudson/scm/SubversionSCM.java +++ b/core/src/main/java/hudson/scm/SubversionSCM.java @@ -679,7 +679,7 @@ public class SubversionSCM extends SCM implements Serializable { return cred.createSVNAuthentication(kind); } catch (SVNException e) { logger.log(Level.SEVERE, "Failed to authorize",e); - return null; + throw new RuntimeException("Failed to authorize",e); } }