improve erroe message

This commit is contained in:
kaso17 2018-02-06 14:29:32 +01:00
parent 1c03172211
commit ad4aa891cf
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ namespace Jackett.Controllers.V20
return; return;
if (!resultController.CurrentIndexer.CanHandleQuery(resultController.CurrentQuery)) if (!resultController.CurrentIndexer.CanHandleQuery(resultController.CurrentQuery))
actionContext.Response = actionContext.Request.CreateErrorResponse(HttpStatusCode.BadRequest, $"{resultController.CurrentIndexer.ID} does not support the requested query."); actionContext.Response = actionContext.Request.CreateErrorResponse(HttpStatusCode.BadRequest, $"{resultController.CurrentIndexer.ID} does not support the requested query. Please check the capabilities (t=caps) and make sure the search mode and categories are supported.");
} }
} }