Don't log query strings

pull/4/head
Mark McDowall 10 years ago
parent 6b642e47ba
commit c4936f0523

@ -63,7 +63,7 @@ namespace NzbDrone.Api.ErrorManagement
}.AsResponse(HttpStatusCode.Conflict); }.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); _logger.ErrorException(sqlErrorMessage, sqLiteException);
} }

Loading…
Cancel
Save