mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-02 03:59:45 +02:00
Fetching a URL and saving it were reported as one thing. Everything from reading the URL to writing the vector database sat inside a single try, whose handler blamed the knowledge base, so a page that could not be fetched, parsed or resolved was reported as a knowledge base error even though nothing had reached the knowledge base yet. Reading the URL now has its own handler that names the URL, and the knowledge base message is left to the step that actually touches it. When YouTube refused a transcript the reason was discarded earlier still: the loader caught the error, logged it, and returned an empty document list, so the empty result failed downstream and even the salvageable explanation was gone before a message was produced. The loader now raises YoutubeTranscriptError carrying a readable reason, mapped from the transcript library's own exception types. Blocked requests mention that a proxy can be configured, and disabled, age restricted, unavailable and missing language cases each say what actually happened. URLs that attach successfully are unaffected.