Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3caf8f8

Browse files
committed
fixup! fix: log after test exit in TestAgent/StartupScript
1 parent 84f0559 commit 3caf8f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func (*agent) runStartupScript(ctx context.Context, script string) error {
187187
return ctx.Err()
188188
}
189189

190-
return xerrors.Errorf("run %q: %w", ctx.Err(), err)
190+
return xerrors.Errorf("run: %w", err)
191191
}
192192

193193
return nil

0 commit comments

Comments
 (0)