diff --git a/main.go b/main.go index 1c85c21..700b606 100644 --- a/main.go +++ b/main.go @@ -2,6 +2,7 @@ package main import ( "flag" + "fmt" "os" "time" @@ -36,6 +37,10 @@ func main() { case *quoteFlag: cmd.NewQuoteCommand().Run() default: - _ = ctx.OpenInEditor(stoic.NewEntry(ctx, time.Now())) + err := ctx.OpenInEditor(stoic.NewEntry(ctx, time.Now())) + + if err != nil { + fmt.Println(err) + } } }