From c4936f0523dc9c80697d7ecadc416c7dc2d3d803 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 19 Aug 2014 07:26:39 -0700 Subject: [PATCH] Don't log query strings --- src/NzbDrone.Api/ErrorManagement/NzbDroneErrorPipeline.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Api/ErrorManagement/NzbDroneErrorPipeline.cs b/src/NzbDrone.Api/ErrorManagement/NzbDroneErrorPipeline.cs index 96b199935..c028aeec6 100644 --- a/src/NzbDrone.Api/ErrorManagement/NzbDroneErrorPipeline.cs +++ b/src/NzbDrone.Api/ErrorManagement/NzbDroneErrorPipeline.cs @@ -63,7 +63,7 @@ namespace NzbDrone.Api.ErrorManagement }.AsResponse(HttpStatusCode.Conflict); } - var sqlErrorMessage = String.Format("[{0} {1}?{2}]", context.Request.Method, context.Request.Path, context.Request.Query); + var sqlErrorMessage = String.Format("[{0} {1}]", context.Request.Method, context.Request.Path); _logger.ErrorException(sqlErrorMessage, sqLiteException); }