Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit f6a398e

Browse files
committed
Handle the errors that are not received from the api
1 parent 6eff871 commit f6a398e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

internals/secrethub/migrate.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ func (cmd *MigratePlanCommand) addDirToPlan(client secrethub.ClientInterface, pa
272272
}
273273
return nil
274274
}
275+
if err != nil {
276+
return err
277+
}
275278

276279
err = addTreeToPlan(tree, plan)
277280
if err != nil {

0 commit comments

Comments
 (0)