fixed test
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m35s

This commit is contained in:
2026-04-21 16:54:52 +02:00
parent 73e867f75a
commit d30e778bd4
+5 -4
View File
@@ -2,12 +2,13 @@ package exerr
import (
"fmt"
"git.blackforestbytes.com/BlackForestBytes/goext/langext"
"github.com/rs/xid"
"github.com/rs/zerolog"
"reflect"
"strings"
"time"
"git.blackforestbytes.com/BlackForestBytes/goext/langext"
"github.com/rs/xid"
"github.com/rs/zerolog"
)
type ExErr struct {
@@ -136,7 +137,7 @@ func (ee *ExErr) FormatLog(lvl LogPrintLevel) string {
for curr := ee; curr != nil; curr = curr.OriginalError {
indent.WriteString(" ")
str.WriteString(indent).String()
str.WriteString(indent.String())
str.WriteString("-> ")
strmsg := strings.Trim(curr.Message, " \r\n\t")
if lbidx := strings.Index(curr.Message, "\n"); lbidx >= 0 {