diff --git a/main.go b/main.go index b72523f..7e0fb7e 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,6 @@ package main import ( - "errors" "log/slog" "os" @@ -24,12 +23,6 @@ func main() { err := ctx.Run() if err != nil { - if unwrap := errors.Unwrap(err); unwrap != nil { - // kong stupidly wraps the original error with the name - // of the command that generated it. I want errors to be - // readable to users, not developers. - err = unwrap - } slog.Error(err.Error()) os.Exit(1) }