mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
change NaN output warning message
This commit is contained in:
parent
a134e2b9ff
commit
c21ae7ea3e
@ -1775,7 +1775,7 @@ namespace crow
|
||||
if (v.nt == num_type::Floating_point)
|
||||
{
|
||||
if(isnan(v.num.d) || isinf(v.num.d)){
|
||||
CROW_LOG_WARNING << "JSON value is NaN or infinite.";
|
||||
CROW_LOG_WARNING << "Invalid JSON value detected (" << v.num.d << "), ignoring" ;
|
||||
break;
|
||||
}
|
||||
#ifdef _MSC_VER
|
||||
|
Loading…
Reference in New Issue
Block a user