add some additional messaging when a boot command fails to type (#9661)

This commit is contained in:
jhawk28 2020-07-29 09:06:45 -04:00 committed by GitHub
parent 883339be25
commit 3370c91cf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ func (s *StepBootCommand) Run(ctx context.Context, state multistep.StateBag) mul
Shift: keyShift,
})
if err != nil {
return fmt.Errorf("error typing a boot command: %v", err)
return fmt.Errorf("error typing a boot command (code, down) `%d, %t`: %w", code, down, err)
}
return nil
}