coder / coder/preview

Report errors during parsing stage

Open
#22 0 comments 0 reactions 1 assignee Claimed by @Emyrk View on GitHub
Dominant language
Go
Stars
9
Forks
5
Avg merge
3d 20h
Merged PRs (30d)
2

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.