From eccc0fe9e534910d5efd7f9dad62e5dc5e983b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Wed, 9 Oct 2024 11:15:26 +0200 Subject: [PATCH] v0.0.530 --- exerr/gin.go | 6 ++++++ goextVersion.go | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/exerr/gin.go b/exerr/gin.go index dba9a05..9c9d64d 100644 --- a/exerr/gin.go +++ b/exerr/gin.go @@ -48,6 +48,12 @@ func (ee *ExErr) toJson(depth int, applyExtendListener bool, outputMeta bool) la metaJson[metaKey] = metaVal.rawValueForJson() } ginJson["meta"] = metaJson + + extraJson := langext.H{} + for extraKey, extraVal := range ee.Extra { + extraJson[extraKey] = extraVal + } + ginJson["extra"] = extraJson } if applyExtendListener { diff --git a/goextVersion.go b/goextVersion.go index c514de5..dd32325 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.529" +const GoextVersion = "0.0.530" -const GoextVersionTimestamp = "2024-10-08T19:22:17+0200" +const GoextVersionTimestamp = "2024-10-09T11:15:26+0200"