Debugging subscriber service.

This commit is contained in:
stephb9959
2022-05-11 21:16:00 -07:00
parent b705c9b138
commit 40fe54d18a

View File

@@ -211,7 +211,8 @@ namespace OpenWifi {
Poco::JSON::Object::Ptr Response;
auto Status = ProvRequest.Do(Response);
std::stringstream ooo;
Response->stringify(ooo);
if(Response!= nullptr)
Response->stringify(ooo);
Logger().information(fmt::format("({}): Status: {}, Completed subscriber e-mail verification. Provisioning notified. {}",
UInfo.email, Status, ooo.str()));
SendHTMLFileBack(FormFile,FormVars);