mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
cli: improve error handling for validator
This commit is contained in:
parent
e130188ecd
commit
63d938d9a4
3 changed files with 3 additions and 3 deletions
|
@ -101,7 +101,7 @@ func (r *recoverCmd) recover(
|
|||
r.log.Debugf("Creating aTLS Validator for %s", conf.GetAttestationConfig().GetVariant())
|
||||
validator, err := cloudcmd.NewValidator(cmd, conf.GetAttestationConfig(), r.log)
|
||||
if err != nil {
|
||||
return err
|
||||
return fmt.Errorf("creating new validator: %w", err)
|
||||
}
|
||||
r.log.Debugf("Created a new validator")
|
||||
doer.setDialer(newDialer(validator), flags.endpoint)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue