1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Error reporting: change category to standard term (#1587)

* streamlined error category with standard term

* remove unused import from test

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
This commit is contained in:
lndrschlz 2020-05-25 22:38:26 +02:00 committed by GitHub
parent af2a01c064
commit 80f70aba4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -92,7 +92,7 @@ func Execute() {
if err := rootCmd.Execute(); err != nil {
// in case we end up here we know that something in the PreRunE function went wrong
// and thus this indicates a configuration issue
log.Entry().WithError(err).WithField("category", "configuration").Fatal("configuration error")
log.Entry().WithError(err).WithField("category", "config").Fatal("configuration error")
}
}

View File

@ -1,9 +1,4 @@
import hudson.FilePath
import hudson.console.AnnotatedLargeText
import java.io.Writer
import groovy.mock.interceptor.MockFor
import java.lang.Integer
import org.junit.Assert
import org.junit.Rule
import org.junit.Test