{"version":"2.1.277","anchor":"hooks-module-error-logging-includes-structured-module-label","canonical_anchor":"hooks-module-error-logging-includes-structured-module-label","heading":"Hooks module error logging includes structured module label and error detail","tier":"internal","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/hooks-module-error-logging-includes-structured-module-label","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Hooks module error logging includes structured module label and error detail\n\nHook failure logs now name the failing hook and show its error message\n\n**What**\n\nWhen a hook (a user-configured script that runs at a specific point, like before or after a tool call) fails, the error log now shows the hook's name and a rendered version of the error inline, instead of one generic combined message.\n\n**Why**\n\nThis makes it much easier to tell which hook failed and why when troubleshooting hook errors in logs.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}