Fail unresolved unit renders with HTTP 500
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user