v0.0.566
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m35s

This commit is contained in:
Mike Schwörer 2025-02-28 21:46:26 +01:00
parent 164c462b96
commit f07cd79b96
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 7 additions and 3 deletions

View File

@ -415,6 +415,10 @@ func (b *Builder) Extra(key string, val any) *Builder {
// Can be gloablly configured with ZeroLogErrTraces and ZeroLogAllTraces
// Can be locally suppressed with Builder.NoLog()
func (b *Builder) Build(ctxs ...context.Context) error {
return b.BuildAsExerr(ctxs...)
}
func (b *Builder) BuildAsExerr(ctxs ...context.Context) *ExErr {
warnOnPkgConfigNotInitialized()
for _, dctx := range ctxs {
@ -422,7 +426,7 @@ func (b *Builder) Build(ctxs ...context.Context) error {
}
if pkgconfig.DisableErrorWrapping && b.wrappedErr != nil {
return b.wrappedErr
return FromError(b.wrappedErr)
}
if pkgconfig.ZeroLogErrTraces && !b.noLog && (b.errorData.Severity == SevErr || b.errorData.Severity == SevFatal) {

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.565"
const GoextVersion = "0.0.566"
const GoextVersionTimestamp = "2025-02-28T21:43:36+0100"
const GoextVersionTimestamp = "2025-02-28T21:46:26+0100"