v0.0.566
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m35s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m35s
This commit is contained in:
parent
164c462b96
commit
f07cd79b96
@ -415,6 +415,10 @@ func (b *Builder) Extra(key string, val any) *Builder {
|
|||||||
// Can be gloablly configured with ZeroLogErrTraces and ZeroLogAllTraces
|
// Can be gloablly configured with ZeroLogErrTraces and ZeroLogAllTraces
|
||||||
// Can be locally suppressed with Builder.NoLog()
|
// Can be locally suppressed with Builder.NoLog()
|
||||||
func (b *Builder) Build(ctxs ...context.Context) error {
|
func (b *Builder) Build(ctxs ...context.Context) error {
|
||||||
|
return b.BuildAsExerr(ctxs...)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (b *Builder) BuildAsExerr(ctxs ...context.Context) *ExErr {
|
||||||
warnOnPkgConfigNotInitialized()
|
warnOnPkgConfigNotInitialized()
|
||||||
|
|
||||||
for _, dctx := range ctxs {
|
for _, dctx := range ctxs {
|
||||||
@ -422,7 +426,7 @@ func (b *Builder) Build(ctxs ...context.Context) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if pkgconfig.DisableErrorWrapping && b.wrappedErr != nil {
|
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) {
|
if pkgconfig.ZeroLogErrTraces && !b.noLog && (b.errorData.Severity == SevErr || b.errorData.Severity == SevFatal) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package goext
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user