Changeset 3f5e375
- Timestamp:
- Apr 6, 2011 2:48:45 PM (14 years ago)
- Branches:
- compt_changes, info-ops, master
- Children:
- 42dedbd
- Parents:
- cf9598a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/emulab_segment.py
rcf9598a r3f5e375 45 45 except socket_error, e: 46 46 raise service_error(service_error.connect, 47 "Cannot connect to %s: %s" % (url, e[1]))47 "Cannot connect" % e) 48 48 raise e 49 49 except BIOError, e: 50 50 if self.log: 51 self.log.warn("BIO error contacting %s: %s" % (url, e))51 self.log.warn("BIO error: %s" % e) 52 52 raise e 53 53 except sslerror, e: 54 54 if self.log: 55 self.log.warn("SSL (socket) error contacting %s: %s" % 56 (url, e)) 55 self.log.warn("SSL (socket) error: %s" % e) 57 56 raise e 58 57 except SSLError, e: 59 58 if self.log: 60 self.log.warn("SSL error contacting %s: %s" % (url, e))59 self.log.warn("SSL error: %s" % e) 61 60 raise e 62 61 except httplib.HTTPException, e: 63 62 if self.log: 64 self.log.warn("HTTP error contacting %s: %s" % (url, e))63 self.log.warn("HTTP error: %s" % e) 65 64 raise e 66 65 except Fault, f: 67 raise service_error(f.faultCode, f.faultString) 66 raise service_error(service_error.protocol, 67 "Remote XMLRPC Fault: %s" % f) 68 68 except Error, e: 69 69 raise service_error(service_error.protocol,
Note: See TracChangeset
for help on using the changeset viewer.