fix(main): missing module-map must abort, not silently continue #36

Closed
opened 2026-05-25 11:51:42 +02:00 by michael · 0 comments
Owner

Problem

main.lua loads module-map with pcall(require, "module-map") and silently
continues if it is missing. But module-map.lua is generated by make install
and must always be present at runtime. A missing map means a broken installation.

Expected behavior

Missing module-map should abort with [ERROR] and exit 10 (config/load error).

Acceptance criteria

  • Missing module-map produces clear error message
  • Exit code is 10
## Problem `main.lua` loads `module-map` with `pcall(require, "module-map")` and silently continues if it is missing. But `module-map.lua` is generated by `make install` and must always be present at runtime. A missing map means a broken installation. ## Expected behavior Missing `module-map` should abort with `[ERROR]` and exit 10 (config/load error). ## Acceptance criteria - [ ] Missing `module-map` produces clear error message - [ ] Exit code is 10
michael added this to the Basic Version milestone 2026-05-30 16:05:10 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/fragjan#36
No description provided.