mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
feat: don't log error type by default
This commit is contained in:
parent
4df8bf46b9
commit
85deceec62
@ -5,7 +5,6 @@ import (
|
||||
"fmt"
|
||||
"net"
|
||||
"net/http"
|
||||
"reflect"
|
||||
"strings"
|
||||
|
||||
"go.opentelemetry.io/otel/trace"
|
||||
@ -15,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func WithError(l *zap.Logger, err error) *zap.Logger {
|
||||
return l.With(FError(err), FErrorType(reflect.TypeOf(err).String()))
|
||||
return l.With(FError(err))
|
||||
}
|
||||
|
||||
func WithServiceName(l *zap.Logger, name string) *zap.Logger {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user