# Crash log to GitHub issue draft

This is a fictional application fixture with a real, reproducible JavaScript exception. It contains no user's crash log, chat message, secret or production incident.

Run `node reproduce-crash.mjs`; exit status 1 is the expected reproduced failure. `crash-log.txt` is its actual output with machine-specific paths removed by the script. The only source stack frame retained is `formatTitle`.

`issue.md` is the reviewed issue body. `issue-payload.json` contains its title and body as a GitHub-compatible draft payload, with no invented repository, assignee or issue URL. No GitHub API request was sent. `run-result.json` records the execution result.

After you have selected and authorized the real destination, GitHub CLI can open a prefilled browser review:

```sh
gh issue create --repo OWNER/REPO --title "Handle null note titles without a TypeError" --body-file issue.md --web
```

Replace OWNER/REPO. The command is documentation, not a command run for this article. Adapt the body to the repository's issue form or template when required. The exact exception wording and stack formatting may differ between Node.js versions.
