Commit fcb886af authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent fce7640c
......@@ -24,8 +24,8 @@ import (
"context"
"fmt"
taskctx "lab.nexedi.com/kirr/neo/go/internal/xcontext/task"
"lab.nexedi.com/kirr/neo/go/internal/log"
taskctx "lab.nexedi.com/kirr/neo/go/internal/xcontext/task"
)
// Running is syntactic sugar to push new task to operational stack, log it and
......@@ -53,7 +53,7 @@ func running(ctxp *context.Context, name string) func(*error) {
if e := *errp; e != nil {
err = fmt.Sprintf(" (%s)", e)
}
log.Depth(1).Info(ctx, "]" + err) // XXX log -> trace, don't put ":" before "]"
log.Depth(1).Info(ctx, "]"+err) // XXX log -> trace, don't put ":" before "]"
// NOTE not *ctxp here - as context pointed by ctxp could be
// changed when this deferred function is run
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment