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); } }