{"version":"2.1.327","anchor":"sessionend-hook-results-reported-cancelled-ones-excluded","canonical_anchor":"sessionend-hook-results-reported-cancelled-ones-excluded","heading":"SessionEnd hook results are now reported, except cancelled ones","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/sessionend-hook-results-reported-cancelled-ones-excluded","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### `SessionEnd` hook results are now reported, except cancelled ones\n\nResults of `SessionEnd` hooks now go through Claude Code's usual hook reporting, leaving out hooks that were cancelled\n\n**Unclear.** It is not clear whether these results now appear anywhere new for the person running Claude Code.\n\n**What**\n\nA `SessionEnd` hook is a command Claude Code runs when a session ends. When a session ends, the results of these hooks are now passed on to Claude Code's hook reporting. Any hook whose output is \"Hook cancelled\" is left out. Before, only failure output was handled. A failing hook's output is still written to the error output as before.\n\n**Why**\n\n`SessionEnd` hooks are now reported the same way as other hooks, and cancelled ones do not show up as results.\n\n- Area: Hooks\n- Names: `SessionEnd`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}