Skip to content

Commit 82dbaee

Browse files
committed
feat: improve notification log
1 parent 1522508 commit 82dbaee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/rest/httpRequestSend.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,8 @@ int httpRequestSend
658658
}
659659
else
660660
{
661-
LM_W(("Notification (%s) response NOT OK, http code: %d", idStringForLogs.c_str(), *statusCodeP));
661+
LM_W(("Notification (%s) response NOT OK, http code: %d, response body: %s",
662+
idStringForLogs.c_str(), *statusCodeP, outP->c_str()));
662663
}
663664
}
664665

0 commit comments

Comments
 (0)