Show migration check error (#5806)

This commit is contained in:
Jim Kalafut
2018-11-16 15:09:35 -08:00
committed by GitHub
parent f30e3db621
commit 2b548e2de9

View File

@@ -162,7 +162,7 @@ func (c *OperatorMigrateCommand) migrate(config *migratorConfig) error {
migrationStatus, err := CheckStorageMigration(from)
if err != nil {
return errors.New("error checking migration status")
return errwrap.Wrapf("error checking migration status: {{err}}", err)
}
if migrationStatus != nil {