Bad hook matchers now produce an error naming the event they belong to.
What's wrong with this entry?
Hook configuration validation now checks each matcher with rules specific to the event it is attached to, and the resulting error names that event instead of failing generically.
- Event rules live in a lookup table keyed by event name; a
tool.callentry is read from it.
SITE_RULES
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
SessionEnd hooks lose the
bypass_permissions_disabledreasonBoth mention hook
-
v2.1.236
Hooks and Ctrl-C go quiet once shutdown has started
Both mention hook
-
v2.1.236
Shutdown seals transcript writes and gives SessionEnd hooks more time
Both mention hook