1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-02 13:14:58 +00:00

Don't log query strings

This commit is contained in:
Mark McDowall 2014-08-19 07:26:39 -07:00
parent 6b642e47ba
commit c4936f0523

View file

@ -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);
} }