diff --git a/client/client.go b/client/client.go index 6d59af720a..647f099dd1 100644 --- a/client/client.go +++ b/client/client.go @@ -173,6 +173,9 @@ func (r *NotaryRepository) Initialize(uCryptoService *cryptoservice.UnlockedCryp // All the timestamp keys are generated by the remote server. remote, err := getRemoteStore(r.baseURL, r.gun, r.roundTrip) + if err != nil { + return err + } rawTSKey, err := remote.GetKey("timestamp") if err != nil { return err