Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd75a6 commit 3e6d71dCopy full SHA for 3e6d71d
1 file changed
Lib/logging/handlers.py
@@ -761,7 +761,11 @@ def _connect_unixsocket(self, address):
761
except socket.error:
762
self.socket.close()
763
self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
764
- self.socket.connect(address)
+ try:
765
+ self.socket.connect(address)
766
+ except socket.error:
767
+ self.socket.close()
768
+ raise
769
770
def encodePriority(self, facility, priority):
771
"""
0 commit comments