1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-09-16 09:26:22 +02:00

fix(logging): shorten secret not resolved message and attach param.name to it (#5467)

This commit is contained in:
Googlom
2025-09-02 14:07:40 +03:00
committed by GitHub
parent a6db368694
commit 39280cb838

View File

@@ -192,7 +192,7 @@ func resolveVaultReference(ref *ResourceReference, config *StepConfig, client Va
}
}
if secretValue == nil {
log.Entry().Info("The secret could not be resolved from Vault. Please check if the secret is available via configured paths.")
log.Entry().WithField("parameter", param.Name).Info("Secret not found in Vault at configured paths.")
}
}