Skip to content

Commit

Permalink
enable detail/stack printing for the Go 2 proposal for error values (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
h12w authored and natefinch committed Sep 12, 2019
1 parent 1c36bf7 commit d6f8413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mage/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Options:
handleError := func(logger *log.Logger, err interface{}) {
if err != nil {
logger.Printf("Error: %v\n", err)
logger.Printf("Error: %+v\n", err)
type code interface {
ExitStatus() int
}
Expand Down

0 comments on commit d6f8413

Please sign in to comment.