Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimize for errors which don't implement fmt.Formatter
If the error doesn't implement fmt.Formatter, as most won't, its faster to use err.Error() than always use fmt to print the error.
- Loading branch information