We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af386e9 commit 45937afCopy full SHA for 45937af
src/java/davmail/exchange/auth/O365Authenticator.java
@@ -291,7 +291,7 @@ public void authenticate() throws IOException {
291
}
292
293
private void checkConfigErrors(JSONObject config) throws DavMailAuthenticationException {
294
- if (config.optString("strServiceExceptionMessage") != null) {
+ if (config.optString("strServiceExceptionMessage", null) != null) {
295
throw new DavMailAuthenticationException("EXCEPTION_AUTHENTICATION_FAILED_REASON", config.optString("strServiceExceptionMessage"));
296
297
0 commit comments