Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
In some scenarios one does not want to parse all mimetypes. Despite the fact that it is possible to configure what resources are being fetched (using URLFilters for instance), it cannot be avoided that resources with unmapped mimetypes are trying to be parsed. Currently this leads to log warnings with stacktraces. This possible masks more important parsing errors, such as errors in parsing itself.
This patch removes the stacktrace for "no suitable parser found" errors. Also it display the error only once. (As opposed to what is currently the case).