Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Report errors during parsing stage

Open
#22 0 comments 0 reactions 1 assignee View on GitHub

@Emyrk is already working on this.

Since Mar 5, 2025.

Assessment

This issue has not been assessed yet.

Description

Parsing errors are logged via slog.Logger

https://github.com/coder/preview/blob/26db550d54b9c8df82cd7fe1bc0fa61e664df243/preview.go#L32-L33

This needs to be corrected to not use the global logger. These warnings/errors should be silenced at worst, and reported at best via diagnostics.

Dominant language
Go
Stars
9
Forks
5
Avg merge
5d 17h
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coder/preview

All issues in coder/preview

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.