diff --git a/exerr/exerr.go b/exerr/exerr.go index 2269cab..f4de284 100644 --- a/exerr/exerr.go +++ b/exerr/exerr.go @@ -160,8 +160,8 @@ func (ee *ExErr) FormatLog(lvl LogPrintLevel) string { for curr := ee; curr != nil; curr = curr.OriginalError { indent += " " - etype := ee.Type.Key - if ee.Type == TypeWrap { + etype := curr.Type.Key + if curr.Type == TypeWrap { etype = "~" } diff --git a/goextVersion.go b/goextVersion.go index 30aaf75..b1a6726 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.536" +const GoextVersion = "0.0.537" -const GoextVersionTimestamp = "2024-10-22T09:57:06+0200" +const GoextVersionTimestamp = "2024-10-26T23:38:13+0200"