Handle FTP exceptions properly

This commit is contained in:
brightio 2023-11-13 20:39:29 +01:00 committed by GitHub
parent de20dcf408
commit cb042d16a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,5 +55,5 @@ class FTP(BaseRequestHandler):
data = self.request.recv(1024)
except Exception:
raise
self.request.close()
pass