jesseduffield / lazygit

simple terminal UI for git commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

User friendlier JSON parsing error

mark2185 opened this issue · comments

Is your feature request related to a problem? Please describe.
A JSON parsing error when parsing the config is not user-friendly at all

E.g.

2022/05/10 10:47:13 yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `d` into config.UserConfig

Describe the solution you'd like
Catch that and print something user friendlier

Describe alternatives you've considered
Step 1: Learn go

ezoic increase your site revenue