[management] Add more logs to the peer update processes (#2881)

This commit is contained in:
Pascal Fischer
2024-11-12 14:19:22 +01:00
committed by GitHub
parent 6cb697eed6
commit 20a5afc359
6 changed files with 41 additions and 16 deletions

View File

@@ -135,3 +135,8 @@ func NewStoreContextCanceledError(duration time.Duration) error {
func NewInvalidKeyIDError() error {
return Errorf(InvalidArgument, "invalid key ID")
}
// NewGetAccountError creates a new Error with Internal type for an issue getting account
func NewGetAccountError(err error) error {
return Errorf(Internal, "error getting account: %s", err)
}