Skip to content

Use error message in catch block for debugging#158

Merged
em3s merged 2 commits intomainfrom
fix/unused-variable-lint-warning
Feb 3, 2026
Merged

Use error message in catch block for debugging#158
em3s merged 2 commits intomainfrom
fix/unused-variable-lint-warning

Conversation

@em3s
Copy link
Copy Markdown
Contributor

@em3s em3s commented Feb 3, 2026

Summary

Fix unused variable lint warning by including err.message in the log output.

Closes #130

Changes

  • Include err.message in the catch block log message for better debugging information

How to Test

npm run lint --prefix website

Should pass without warnings.

Include err.message in the log output to fix the unused variable
lint warning and improve debugging information.

Closes #130

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Feb 3, 2026
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@em3s em3s merged commit b69bf6b into main Feb 3, 2026
10 checks passed
@em3s em3s self-assigned this Feb 6, 2026
@em3s em3s changed the title fix(website): use error message in catch block for debugging Use error message in catch block for debugging Feb 12, 2026
@em3s em3s deleted the fix/unused-variable-lint-warning branch March 1, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix unused variable lint warning in capture-guide-screenshots.mjs

1 participant