diff --git a/exerr/exerr.go b/exerr/exerr.go index cc1c34b..e275c5f 100644 --- a/exerr/exerr.go +++ b/exerr/exerr.go @@ -84,6 +84,9 @@ func (ee *ExErr) FormatLog(lvl LogPrintLevel) string { if lvl == LogPrintShort { msg := ee.Message + if msg == "" { + msg = ee.RecursiveMessage() + } if ee.OriginalError != nil && ee.OriginalError.Category == CatForeign { msg = msg + " (" + strings.ReplaceAll(ee.OriginalError.Message, "\n", " ") + ")" } diff --git a/goextVersion.go b/goextVersion.go index 415aab0..9b0fd6e 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.463" +const GoextVersion = "0.0.464" -const GoextVersionTimestamp = "2024-05-29T20:20:01+0200" +const GoextVersionTimestamp = "2024-06-01T02:40:48+0200"