From e89354e4a88b2257ab01d98353e2757fd8a2fcdc Mon Sep 17 00:00:00 2001 From: Yukino Song Date: Fri, 24 Jan 2025 19:13:43 +0800 Subject: [PATCH] Log fail reason for pair attempt --- src/nvhttp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nvhttp.cpp b/src/nvhttp.cpp index 394dfa5c..a23d0007 100644 --- a/src/nvhttp.cpp +++ b/src/nvhttp.cpp @@ -434,6 +434,7 @@ namespace nvhttp { tree.put("root..status_code", 400); tree.put("root..status_message", status_msg); remove_session(sess); // Security measure, delete the session when something went wrong and force a re-pair + BOOST_LOG(warning) << "Pair attempt failed due to " << status_msg; } void