Skip to content

Conversation

@h12w
Copy link
Contributor

@h12w h12w commented Jul 19, 2019

This one character tweak allows the details/stack printing for the new error values defined by golang/x/xerrors as well as the new errors package in Go 1.13.

If an error is not defined as the new way, it will fall back to the traditional Error() message as usual.

Copy link
Member

@natefinch natefinch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, Thanks!

@natefinch natefinch merged commit d6f8413 into magefile:master Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants