Framework fix "}" crash

This commit is contained in:
stephb9959
2022-03-25 07:37:51 -07:00
parent 20d09b8f31
commit 84376a07c9
2 changed files with 3 additions and 3 deletions

2
build
View File

@@ -1 +1 @@
65
66

View File

@@ -1257,7 +1257,7 @@ namespace OpenWifi {
inline void exception(const std::exception & E) {
Poco::Thread * CurrentThread = Poco::Thread::current();
App_.logger().warning(fmt::format("std::exception in {}}",CurrentThread->getName()));
App_.logger().warning(fmt::format("std::exception in ",CurrentThread->getName()));
}
inline void exception() {
@@ -2073,7 +2073,7 @@ namespace OpenWifi {
ErrorObject.set("ErrorDescription","This resource does not exist.");
std::ostream &Answer = Response->send();
Poco::JSON::Stringifier::stringify(ErrorObject, Answer);
Logger_.debug(fmt::format("RES-NOTFOUND: User='{}@{}}' Method='{}}' Path='{}}",
Logger_.debug(fmt::format("RES-NOTFOUND: User='{}@{}' Method='{}' Path='{}",
UserInfo_.userinfo.email,
Utils::FormatIPv6(Request->clientAddress().toString()),
Request->getMethod(),