Fail unresolved unit renders with HTTP 500

This commit is contained in:
udo
2026-07-18 16:59:14 +00:00
parent 3cbe6f50d4
commit 1df3becdb2
4 changed files with 12 additions and 0 deletions
+2
View File
@@ -18,6 +18,8 @@ Calls another UCE file and executes its `RENDER(Request& context)` function.
If `context` is omitted, the current active request context is used.
Calling a missing unit or render handler is a server error and sets HTTP status 500. If a unit is intentionally optional, inspect it with `unit_info()` before calling `unit_render()`.
Examples: