![]()
Snag catches Lua errors in the addons that use it and gives you one report to paste at bugs.chrissiena.com, so the author hears about the bug.
Nothing is sent anywhere by the addon. Your character and realm names are taken out of every report.
For players
The first time an addon hits an error in a session, one line appears in chat:
[Snag] Drink hit an error. Type /snag to copy the report.
| Command | What it does |
|---|---|
/snag |
Opens the copy box with every saved report (up to 5), one per line. Press Ctrl+C and paste them all at bugs.chrissiena.com, then click Clear so they aren't sent twice. |
/snag addons |
Shows Snag's version and lists the addons that use it, with their versions. An installed addon that is turned off shows as "not loaded". |
/snag quiet |
Turns the chat line off (or back on). Errors are still saved for /snag. |
/snag clear |
Empties the saved reports. |
/snag dev |
Dev mode: reports are marked as tests and never alert the author. |
/snag crash |
In dev mode, raises a test error. |
/snag help |
Shows Snag's version and lists the commands. |
At most one line per bug and three per session, and nothing during combat.
Want to see what went wrong before you paste? Click Details in the copy box. Each saved report shows as readable text: the addon and version, how many times it happened and when, the error message, and the first lines of the stack. Click Report to go back and copy.
For addon authors
Add two lines to every one of your addon's TOC files:
## OptionalDeps: Snag
## X-Snag: 1
Your addon still loads and works without Snag. With it, Snag catches errors from your addon's own files (not its embedded Libs/) and blocked actions it causes. Each report carries your addon's folder name and ## Version.
The site only takes reports from addons on its allowed list. Ask for access at bugs.chrissiena.com/request and you can add your own addons. On CurseForge, mark Snag as a Required Dependency so addon managers install it.
Once you have access, you can make your addon's bug list public at bugs.chrissiena.com/addon/YourAddon and add a "bugs: N open" badge to your README. Only bugs reported from more than one network appear there.