This fixes an issue with RAG that stops loading documents as soon as it reaches a file with unsupported mimetype.