Fix error string formatting
This commit is contained in:
parent
5cc498dc62
commit
886b7f66c3
1 changed files with 2 additions and 2 deletions
|
|
@ -149,9 +149,9 @@ func (vault *Vault) isSSHKey(cipher models.Cipher) bool {
|
||||||
cipherID := cipher.ID.String()
|
cipherID := cipher.ID.String()
|
||||||
if cipher.OrganizationID != nil {
|
if cipher.OrganizationID != nil {
|
||||||
orgID := cipher.OrganizationID.String()
|
orgID := cipher.OrganizationID.String()
|
||||||
vaultLog.Error("Failed to decrypt field name with on cipher "+cipherID+" in organization "+orgID, err.Error())
|
vaultLog.Error("Failed to decrypt field name with on cipher %s in organization %s: %s", cipherID, orgID, err.Error())
|
||||||
} else {
|
} else {
|
||||||
vaultLog.Error("Failed to decrypt field name with on cipher "+cipherID, err.Error())
|
vaultLog.Error("Failed to decrypt field name with on cipher %s: %s", cipherID, err.Error())
|
||||||
}
|
}
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue