Skip to content

Commit 1e6b2e1

Browse files
committed
Handle various errors from doValidateRepositoryUrlAndCredentials
1 parent 98e3d8a commit 1e6b2e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2155,7 +2155,7 @@ public FormValidation doValidateRepositoryUrlAndCredentials(
21552155
} finally {
21562156
Connector.release(github);
21572157
}
2158-
} catch (IOException e) {
2158+
} catch (Exception e) {
21592159
return FormValidation.error(e, "Error validating repository information. " + sb.toString());
21602160
}
21612161
return FormValidation.ok(sb.toString());

0 commit comments

Comments
 (0)