-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Users who take the time (and performance hit) of using Dave Cheney's errors package should get rich, annotated errors and stacktraces in their logs. However, that package is only one of a number of similar packages hasn't yet committed to a stable API, so we don't want to take a direct dependency on it. To support these sorts of packages, serialize errors that implement `fmt.Formatter` differently from those that don't.
- Loading branch information
Akshay Shah
committed
Feb 19, 2017
1 parent
aa2e5d0
commit e8f7ba6
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters