You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user