feature add http error msg for bury point

This commit is contained in:
alves
2025-12-24 10:50:10 +08:00
parent 2b7aee0050
commit 3c5019bbbb

View File

@@ -224,7 +224,7 @@ void SMUserLogin::OnNavigationRequest(wxWebViewEvent &evt)
} }
}) })
.on_error([&](std::string body, std::string error, unsigned status) { .on_error([&](std::string body, std::string error, unsigned status) {
std::string http_code = BP_LOGIN_HTTP_CODE + string(":") + std::to_string(status); std::string http_code = BP_LOGIN_HTTP_CODE + string(":") + std::to_string(status) + "\n" + error + "\n" + body;
sentryReportLog(SENTRY_LOG_TRACE, http_code, BP_LOGIN); sentryReportLog(SENTRY_LOG_TRACE, http_code, BP_LOGIN);
}) })
.perform_sync(); .perform_sync();