Skip to content

Commit 051a593

Browse files
committed
DEBUG log the SSLHandshakeException
1 parent c930933 commit 051a593

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/io/fusionauth/http/server/HTTPServerThread.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022-2023, FusionAuth, All Rights Reserved
2+
* Copyright (c) 2022-2024, FusionAuth, All Rights Reserved
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,6 +15,7 @@
1515
*/
1616
package io.fusionauth.http.server;
1717

18+
import javax.net.ssl.SSLHandshakeException;
1819
import java.io.Closeable;
1920
import java.io.IOException;
2021
import java.net.InetSocketAddress;
@@ -170,8 +171,8 @@ public void run() {
170171
}
171172

172173
cancelAndCloseKey(key);
173-
} catch (ClientAbortException e) {
174-
// A client abort exception is common and should not be error logged.
174+
} catch (ClientAbortException | SSLHandshakeException e) {
175+
// A client abort exception or SSLHandshakeException are common and should not be error logged.
175176
logger.debug("A client related exception was thrown during processing", e);
176177
cancelAndCloseKey(key);
177178
} catch (Throwable t) {

0 commit comments

Comments
 (0)