Hide full url path when 404 error is thrown
Closes #78
How to test
- Search for
!dg cat
(The engine seems to be crashing right now, a 404 http status code) - The logs should tell something like "ERROR:searx.search.processor.online:engine digg : exception : (404) Resource not found for "digg.com". Are you sure the API endpoint is valid?"
Before, in this case it would show the full url requested, which in turn would leak the user query. This MR changes the overall logging message
Edited by Israel Yago Pereira