diff options
| author | Romain PINSOLLE <romain.pins@gmail.com> | 2026-11-24 16:10:56 +0100 |
|---|---|---|
| committer | Romain PINSOLLE <romain.pins@gmail.com> | 2026-11-24 16:10:56 +0100 |
| commit | 23b70597de2fa197a9f5b23e0c0f6026798cf7c9 (patch) | |
| tree | 299bd3b4d224af56ae9d5d5cf25cb057a224d519 /runtime/test/tiny_game_exit_code_test.cpp | |
| parent | a28927849adb4e40dfdec8c32fb6758dcd205a37 (diff) | |
viewer: report body read failures separately from invalid JSON (WORLD-JSON-READ-MISREPORTED)
loadWorld() read the body and parsed it in one try, so a 200 response whose
body read failed was reported as "could not be read as valid JSON".
The read and the parse now have separate stages, and the message names the
stage that failed. Tests cover a failed read, invalid JSON text and a valid body.
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions