X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e281a42ac126952960838e0aae826e00091a8404..aabdf0fec790f9dd341af07013cc1c47ae04b876:/lib/service/error.go diff --git a/lib/service/error.go b/lib/service/error.go index 8955210913..1ca5c5f446 100644 --- 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. -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}