upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorliang-kai-shui <1677378668@qq.com>2026-11-22 18:39:53 +0800
committerliang-kai-shui <1677378668@qq.com>2026-11-22 18:39:53 +0800
commit3118f9cbce88351f4f3e19c14a3204a03be09e0d (patch)
tree9d63d28a260751dc5c1442c8c63c7670b3f62ee4 /runtime/src/pe_loader.cpp
parentf85582e23d4ab9e19acbf694358f137d6b8531b1 (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/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions