mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-27 12:16:19 +00:00
urlsplit accepts redis://host:notaport/0; only parts.port raises, and it raises on access rather than at split time, so the ValueError fell outside the try. _check_redis catches the client error and then formats it through _endpoint, so doctor ended with a traceback from inside its own error path.