1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-03-03 15:02:35 +02:00

Fix error category for general config issue (#2053)

This commit is contained in:
Oliver Nocon 2020-09-22 07:49:34 +02:00 committed by GitHub
parent 940e9aa498
commit 155a19147a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,6 +115,7 @@ func Execute() {
addRootFlags(rootCmd)
if err := rootCmd.Execute(); err != nil {
log.SetErrorCategory(log.ErrorConfiguration)
log.Entry().WithError(err).Fatal("configuration error")
}
}