Skip to content

Commit

Permalink
removed untrue
Browse files Browse the repository at this point in the history
  • Loading branch information
vtopc committed Sep 27, 2024
1 parent 1da124c commit 96c1472
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ func ToMap(err error) map[string]any {

// ToLogrus Returns the context and stacktrace information for the underlying error
// that could be used as logrus.Fields
// returns empty value if err has no context or no stacktrace
//
// logrus.Fields(errors.ToLogrus(err)).WithField("tid", 1).Error(err)
func ToLogrus(err error) map[string]any {
Expand Down

0 comments on commit 96c1472

Please sign in to comment.