From 3aea48927cbc06791a7138369de8962c540df2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20L=C3=B3pez=20de=20la=20Franca=20Beltran?= Date: Mon, 30 Oct 2023 09:52:30 +0100 Subject: [PATCH] Update outdated godoc comment --- errext/format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errext/format.go b/errext/format.go index d52088c63ac..f79fc3a69b2 100644 --- a/errext/format.go +++ b/errext/format.go @@ -4,7 +4,7 @@ import ( "errors" ) -// Format formats the given error and writes it to l. +// Format formats the given error as a message (string) and a map of fields. // In case of Exception, it uses the stack trace as the error message. // In case of HasHint, it also adds the hint as a field. func Format(err error) (string, map[string]interface{}) {