Skip to content

Commit e41d241

Browse files
committed
chore: quick update fix/version at 2025-09-26 22:09:29
1 parent 3e5f4c7 commit e41d241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assert/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func logErr(err error, message string, attrs ...slog.Attr) {
3939
slog.String(logfields.Module, "assert"),
4040
slog.String(logfields.Error, err.Error()),
4141
slog.String(logfields.ErrorStack, base64.StdEncoding.EncodeToString(debug.Stack())),
42-
slog.String(logfields.ErrorDetail, pretty().Sprint(err)),
42+
slog.String(logfields.ErrorDetail, fmt.Sprintf("%v", err)),
4343
)
4444
slog.Error(message, lo.ToAnySlice(attrs)...)
4545
}

0 commit comments

Comments
 (0)