Closed strikaco closed 1 year ago
Agreed. I would assume that the .exists()
would blow up but perhaps the issue is OSError
it too wide. What are your thoughts on that?
Re-reading that stack trace, Paramiko may be best blamed for the lack of coherence.
I don't know what other conditions might yield the same error so I hesitate to recommend capturing and rewrapping a generic error like this as a connection error within DJS. That could add another layer of misdirection.
I don't have any solid ideas on how to trap this :/
This was fixed in #1087
Spent all day trying to debug this one, heh.
The SFTP client gets caught in a tailspin over a supposed
RecursionError
-- but the root cause turned out to be that the remote host was unavailable.There must be a better way to handle this circumstance; this error was certainly misleading :)