Files
jbashrc/claude/integration-memory/project_eris_addinfo_removed.md
2026-05-26 16:59:10 -04:00

1020 B

name, description, metadata
name description metadata
project-eris-addinfo-removed In this project's Eris fork, ldebug.c's addinfo() is intentionally commented out (luaG_runerror no longer prepends file:line: to error messages).
node_type type originSessionId
memory project bf905462-91dc-4dab-9f49-f76bf9ed0c8e

In luprex/ext/eris-master/src/ldebug.c, the addinfo function is commented out, and luaG_runerror no longer calls it. This means stock Lua's "file:line: <msg>" prefix is NOT added to runtime error messages.

Why: This project always appends a full traceback to errors via traceback_pcall / traceback_coroutine (in luprex/cpp/core/traceback.cpp). The traceback already shows file:line for every frame including the one that threw, so addinfo's prefix would be redundant.

How to apply: Don't "fix" the commented-out addinfo. If a runtime error message looks bare (no leading file:line:), that's expected — the traceback machinery is responsible for location info, not the message itself.