about summary refs log tree commit diff
path: root/scripts/plot-compare.py
diff options
context:
space:
mode:
authorPjotr Prins <pjotr.public01@thebird.nl>2026-11-22 17:04:30 +0000
committerPjotr Prins <pjotr.public01@thebird.nl>2026-11-22 17:04:30 +0000
commit3854e38fd8c4521df1f501dd6b093fe8b27a840a (patch)
tree205b7f9212d0be2149fa2ef55af366822f9e7de0 /scripts/plot-compare.py
parent52e4f6d9b92242d241be85a91699d8565e4a746a (diff)
downloadgenenetwork4-3854e38fd8c4521df1f501dd6b093fe8b27a840a.tar.gz
api: a request body it cannot read answers in the envelope, not in text/plain
An extractor's rejection never reaches a handler, so it never sees ApiError:
axum answered "Failed to deserialize the JSON body ...: missing field
`trait_name`" as text/plain.  That is the one error class a client cannot parse,
and it is the class a client most likely triggers.  A middleware outside
everything turns any non-JSON 4xx into the usual envelope, with the matched
route as the operation id and the original text as the detail.
Diffstat (limited to 'scripts/plot-compare.py')
0 files changed, 0 insertions, 0 deletions