Skip to content

Commit c239187

Browse files
committed
Fix argument fowrarding syntax when printing error
Signed-off-by: Julien Rische <[email protected]>
1 parent 45334e2 commit c239187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: errors/errors.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func Logf(level, format string, args ...interface{}) {
3535
}
3636
pc, _, line, ok := runtime.Caller(1)
3737
if !ok {
38-
log.Printf(format, args)
38+
log.Printf(format, args...)
3939
return
4040
}
4141
fn := runtime.FuncForPC(pc)

0 commit comments

Comments
 (0)