Ignore:
Timestamp:
Sep 9, 2011 1:59:08 PM (13 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, info-ops, master
Children:
a3bbb4a
Parents:
f585453 (diff), 355b17e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'axis_example'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/emulab_segment.py

    r355b17e re252e5d  
    4545        except socket_error, e:
    4646            raise service_error(service_error.connect,
    47                     "Cannot connect to %s: %s" % (url, e[1]))
     47                    "Cannot connect" % e)
    4848            raise e
    4949        except BIOError, e:
    5050            if self.log:
    51                 self.log.warn("BIO error contacting %s: %s" % (url, e))
     51                self.log.warn("BIO error: %s" % e)
    5252            raise e
    5353        except sslerror, e:
    5454            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)
    5756            raise e
    5857        except SSLError, e:
    5958            if self.log:
    60                 self.log.warn("SSL error contacting %s: %s" % (url, e))
     59                self.log.warn("SSL error: %s" % e)
    6160            raise e
    6261        except httplib.HTTPException, e:
    6362            if self.log:
    64                 self.log.warn("HTTP error contacting %s: %s" % (url, e))
     63                self.log.warn("HTTP error: %s" % e)
    6564            raise e
    6665        except Fault, f:
    67             raise service_error(f.faultCode, f.faultString)
     66            raise service_error(service_error.protocol,
     67                    "Remote XMLRPC Fault: %s" % f)
    6868        except Error, e:
    6969            raise service_error(service_error.protocol,
Note: See TracChangeset for help on using the changeset viewer.