} else if (result.getProofRequiredFailure() != null) {
final var failure = result.getProofRequiredFailure();
return String.format(
- "CAPTCHA proof required for sending to \"%s\", available options \"%s\" with token \"%s\", or wait \"%d\" seconds",
+ "CAPTCHA proof required for sending to \"%s\", available options \"%s\" with challenge token \"%s\", or wait \"%d\" seconds",
identifier,
failure.getOptions()
.stream()
for (var error : errors) {
message.append(error).append("\n");
}
- throw new IOErrorException(message.toString());
+ throw new IOErrorException(message.toString(), null);
}
}