Skip to content
Permalink
Browse files
modifty certificate loading failure error prompt (#260)
  • Loading branch information
shzcore committed Nov 23, 2020
1 parent 7036c2f commit 7e841533310215a3c66c5167d589857934e08cad
Showing 1 changed file with 2 additions and 1 deletion.
@@ -74,7 +74,8 @@ public static HugeClient tryConnect(GraphConnection connection) {
if (message != null && message.startsWith("The version")) {
throw new ExternalException("client-server.version.unmatched", e);
}
if (message != null && message.startsWith("Error loading trust store from")) {
if (message != null && (message.startsWith("Error loading trust store from") ||
message.startsWith("Cannot find trust store file"))) {
throw new ExternalException("https.load.truststore.error", e);
}
throw e;

0 comments on commit 7e84153

Please sign in to comment.