mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-30 03:34:26 +03:00
sync code
This commit is contained in:
@@ -92,7 +92,10 @@ string
|
||||
HTTPResponse::toString() const
|
||||
{
|
||||
auto code = status_code_to_string.find(status_code);
|
||||
dbgAssert(code != status_code_to_string.end()) << "Unknown status code " << int(status_code);
|
||||
dbgAssert(code != status_code_to_string.end())
|
||||
<< AlertInfo(AlertTeam::CORE, "messaging i/s")
|
||||
<< "Unknown status code "
|
||||
<< int(status_code);
|
||||
|
||||
return "[Status-code]: " + code->second + ", [Body]: " + (body.empty() ? "{}" : body);
|
||||
}
|
||||
|
Reference in New Issue
Block a user