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"