Chore: Check errors from Close calls (#29562)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -80,6 +80,10 @@ func Warnf(format string, v ...interface{}) {
|
||||
Root.Warn(message)
|
||||
}
|
||||
|
||||
func Error(msg string, args ...interface{}) {
|
||||
Root.Error(msg, args...)
|
||||
}
|
||||
|
||||
func Errorf(skip int, format string, v ...interface{}) {
|
||||
Root.Error(fmt.Sprintf(format, v...))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user