Skip to content

Commit d711153

Browse files
committed
log: fix debug call site trace
1 parent bc91ca3 commit d711153

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

intra/log/logger.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@ func (l *simpleLogger) writelog(lvl LogLevel, at int, msg string, args ...any) {
606606
if _, x := caller1(at+nextframe+5, ">"); tracecaller(x) {
607607
trace += x
608608
}
609+
fallthrough
609610
case ERROR:
610611
if _, x := caller1(at+nextframe+4, ">"); tracecaller(x) {
611612
trace += x

0 commit comments

Comments
 (0)