Show migration check error (#5806)

This commit is contained in:
Jim Kalafut 2018-11-16 15:09:35 -08:00 committed by GitHub
parent 194c90a01d
commit 824c02a234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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 {