diff options
| author | liang-kai-shui <1677378668@qq.com> | 2026-11-22 18:39:53 +0800 |
|---|---|---|
| committer | liang-kai-shui <1677378668@qq.com> | 2026-11-22 18:39:53 +0800 |
| commit | 3118f9cbce88351f4f3e19c14a3204a03be09e0d (patch) | |
| tree | 9d63d28a260751dc5c1442c8c63c7670b3f62ee4 /runtime/src/thread_stacks.cpp | |
| parent | f85582e23d4ab9e19acbf694358f137d6b8531b1 (diff) | |
gamedata_graph: a malformed carve index is one ERROR line, not a traceback
main() caught only FileNotFoundError around the documents loaded through
gamedata_xml.load_documents, so every malformed carve index shape ends in
a traceback here: {} -> KeyError 'files', {"files": "oops"} -> TypeError,
malformed JSON -> JSONDecodeError, a row without 'off' -> KeyError 'off'.
Mirror the contract gamedata_xml.main() gained in #1282: RuntimeError is an
ERROR line, and (OSError, ValueError, KeyError, TypeError) gives
"ERROR: cannot read <where>: <reason>" with exit 2.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions