projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14715: Keepproxy uses cluster config
[arvados.git]
/
lib
/
service
/
error.go
diff --git
a/lib/service/error.go
b/lib/service/error.go
index 8955210913c291341fd27e132b86aad086a2f3d7..1ca5c5f4463b00f4afffbff0507134619f14e57c 100644
(file)
--- a/
lib/service/error.go
+++ b/
lib/service/error.go
@@
-17,7
+17,7
@@
import (
// responds 500 to all requests. ErrorHandler itself logs the given
// error once, and the handler logs it again for each incoming
// request.
// responds 500 to all requests. ErrorHandler itself logs the given
// error once, and the handler logs it again for each incoming
// request.
-func ErrorHandler(ctx context.Context, _ *arvados.Cluster,
_ *arvados.NodeProfile,
err error) Handler {
+func ErrorHandler(ctx context.Context, _ *arvados.Cluster, err error) Handler {
logger := ctxlog.FromContext(ctx)
logger.WithError(err).Error("unhealthy service")
return errorHandler{err, logger}
logger := ctxlog.FromContext(ctx)
logger.WithError(err).Error("unhealthy service")
return errorHandler{err, logger}