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 a45b965 commit b8b63c2Copy full SHA for b8b63c2
MongoBackup/Common/Util.py
@@ -1,4 +1,3 @@
1
-import logging
2
import socket
3
4
@@ -8,5 +7,4 @@ def validate_hostname(hostname):
8
7
hostname, port = hostname.split(":")
9
socket.gethostbyname(hostname)
10
except socket.error, e:
11
- logging.fatal("Could not resolve host '%s', error: %s" % (hostname, e))
12
raise Exception, "Could not resolve host '%s', error: %s" % (hostname, e), None
0 commit comments