diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-09-08 17:01:27 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-09-11 09:55:06 +0000 |
| commit | 9ce85032176be2502eb391bd8916c77191a3d991 (patch) | |
| tree | 536758f7fd51e781f9e87a44b98976f20b089a7c /pkg/repro | |
| parent | 6654cf89a7909afd314ad8abd502bc0dd024112a (diff) | |
pkg/repro: make instance falure log less confusing
Now it looks like a failure of the whole reproduction process.
Adjust the message to reduce confusion.
Diffstat (limited to 'pkg/repro')
| -rw-r--r-- | pkg/repro/repro.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go index 1da74830f..9f0faf29c 100644 --- a/pkg/repro/repro.go +++ b/pkg/repro/repro.go @@ -673,7 +673,8 @@ func (ctx *context) createInstances(cfg *mgrconfig.Config, vmPool *vm.Pool) { inst, err = instance.CreateExecProgInstance(vmPool, vmIndex, cfg, ctx.reporter, &instance.OptionalConfig{Logf: ctx.reproLogf}) if err != nil { - ctx.reproLogf(0, "failed to init instance: %v", err) + ctx.reproLogf(0, "failed to init instance: %v, attempt %d/%d", + err, try+1, maxTry) time.Sleep(10 * time.Second) continue } |
