Skip to content

Commit 4ac5606

Browse files
author
Gabriel Cataldo
committed
Bug fix
1 parent 5cd1fc5 commit 4ac5606

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Go Errors Detail
33
<!--suppress ALL -->
44
<img align="right" src="gopher-debug.png" alt="">
55

6-
[![Project status](https://img.shields.io/badge/version-v1.1.6-vividgreen.svg)](https://github.com/GabrielHCataldo/go-errors/releases/tag/v1.1.6)
6+
[![Project status](https://img.shields.io/badge/version-v1.1.7-vividgreen.svg)](https://github.com/GabrielHCataldo/go-errors/releases/tag/v1.1.7)
77
[![Go Report Card](https://goreportcard.com/badge/github.com/GabrielHCataldo/go-errors)](https://goreportcard.com/report/github.com/GabrielHCataldo/go-errors)
88
[![Coverage Status](https://coveralls.io/repos/GabrielHCataldo/go-errors/badge.svg?branch=main&service=github)](https://coveralls.io/github/GabrielHCataldo/go-errors?branch=main)
99
[![Open Source Helpers](https://www.codetriage.com/gabrielhcataldo/go-errors/badges/users.svg)](https://www.codetriage.com/gabrielhcataldo/go-errors)

errors/errors.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ func Details(err error) *ErrorDetail {
167167
} else {
168168
file, line, funcName = helper.GetCallerInfo(2)
169169
debugStack = string(debug.Stack())
170+
message = err.Error()
170171
}
171172
return &ErrorDetail{
172173
file: file,

0 commit comments

Comments
 (0)