When payload is invalid JSON, instead of expected error message:
Failed to decode JSON object: Expecting value: line 1 column 1 (char 0)
following message is now received:
Failed to decode JSON object: No JSON object could be decoded
Not sure what why this changed, possibly because of some upgraded dependency.
Nice. :+1:
Pull-Request has been merged by ralph
It would be nice to know where exactly this message changed, and in which version(s)... my guess would be in Flask-Rest since that is what does the validation to produce those error messages.
When payload is invalid JSON, instead of expected error message:
following message is now received:
Not sure what why this changed, possibly because of some upgraded
dependency.