Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
fmt, errors: empty messages in the error chain result in ugly messages #30683
$ go version go version devel +ce7534ff06 Fri Mar 8 13:46:43 2019 +0000 linux/amd64
What did you do?
What did you expect to see?
I would expect to see:
What did you see instead?
Instead we see:
It's not uncommon to want to wrap errors just to record the location without adding any message (adding an annotation at every level can end up with unwieldy messages), so I think a colon separator should only be printed if there's something to print.