From e884ba6b89a833cec2819b4673c21472d12c52f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sun, 13 Oct 2024 16:33:39 +0200 Subject: [PATCH] v0.0.532 --- exerr/constructor.go | 4 ++-- goextVersion.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exerr/constructor.go b/exerr/constructor.go index a94d077..ad41488 100644 --- a/exerr/constructor.go +++ b/exerr/constructor.go @@ -34,8 +34,8 @@ func FromError(err error) *ExErr { Caller: "", OriginalError: nil, Meta: MetaMap{ - "panic_object": {DataType: MDTString, Value: fmt.Sprintf("%+v", verr)}, - "panic_type": {DataType: MDTString, Value: fmt.Sprintf("%T", verr)}, + "panic_object": {DataType: MDTString, Value: fmt.Sprintf("%+v", verr.RecoveredObj())}, + "panic_type": {DataType: MDTString, Value: fmt.Sprintf("%T", verr.RecoveredObj())}, "stack": {DataType: MDTString, Value: verr.Stack}, }, Extra: make(map[string]any), diff --git a/goextVersion.go b/goextVersion.go index 959e8d5..f6f8593 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.531" +const GoextVersion = "0.0.532" -const GoextVersionTimestamp = "2024-10-13T16:10:55+0200" +const GoextVersionTimestamp = "2024-10-13T16:33:39+0200"