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:
parent
af2a01c064
commit
80f70aba4a
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user