Skip to content

Commit

Permalink
fix: show dialog on invalid yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Falk Nielsen committed May 6, 2024
1 parent 3b5cffc commit 998d001
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import (
func main() {
cfgPath, err := config.ParseFlags()
if err != nil {
panic(err)
dialog.Message("Error: %v", err).Title("Config Error").Error()
return
}

cfg, err := config.NewConfig(cfgPath)
Expand Down

0 comments on commit 998d001

Please sign in to comment.