diff --git a/cmd/sst/main.go b/cmd/sst/main.go index 1124b54a4..71a4ade34 100644 --- a/cmd/sst/main.go +++ b/cmd/sst/main.go @@ -261,8 +261,8 @@ func main() { err := app.Run(os.Args) if err != nil { - if err, ok := err.(*util.ReadableError); ok { - fmt.Println(err.Message) + if readableErr, ok := err.(*util.ReadableError); ok { + fmt.Println(readableErr.Message) } else { panic(err) }