The request returns only content:An error occurred while handling an error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "handle_request", line 97, in handle_request
from sanic_ext.extensions.base import Extension # type: ignore
File "/usr/local/lib/python3.9/site-packages/sanic_ext/extras/serializer/decorator.py", line 31, in decorated_function
retval = await retval
File "/usr/local/lib/python3.9/site-packages/sanic_ext/extras/validation/decorator.py", line 51, in decorated_function
await do_validation(
File "/usr/local/lib/python3.9/site-packages/sanic_ext/extras/validation/setup.py", line 35, in do_validation
validation = validate_body(validator, model, data)
File "/usr/local/lib/python3.9/site-packages/sanic_ext/extras/validation/validators.py", line 27, in validate_body
raise ValidationError(
sanic_ext.exceptions.ValidationError: Invalid request body: JiraSchema. Error: 1 validation error for JiraSchema
feature
Value error, feature non conformance. [type=value_error, input_value='aa', input_type=str]
For further information visit https://errors.pydantic.dev/2.0.3/v/value_error
I myself wrote a simple demo that did not appear in this situation, the dev parameter returns 500 for True, 400 for False and pydantic check exception information, which is as expected, want to know when this happens?