-
-
Notifications
You must be signed in to change notification settings - Fork 473
Closed
Labels
featureCode based project improvementCode based project improvement
Description
If an endpoint returns a status that does't exist in this map
https://github.com/CrowCpp/Crow/blob/master/include/crow/http_connection.h#L270
the actual returned code is set to 500
https://github.com/CrowCpp/Crow/blob/master/include/crow/http_connection.h#L319
This happens without any warning log (I've checked with debug level).
Imo the easiest solution is to add a warning log to the block that sets it to 500, this would help a lot when debugging.
(I've encountered this when writing UTs, using some arbitrary values)
Metadata
Metadata
Assignees
Labels
featureCode based project improvementCode based project improvement