Report errors during parsing stage
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coder/preview
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
upstream
Similar issues
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
🤔 refinement needed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
equinor/radix-operator#1979 ·