File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments