Changeset a6a3f93


Ignore:
Timestamp:
Dec 3, 2010 1:44:50 PM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master
Children:
696a689
Parents:
9252414
Message:

better diagnositics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/remote_service.py

    r9252414 ra6a3f93  
    338338                ctx = fedd_ssl_context(cert_file, trusted_certs,
    339339                        password=cert_pwd)
    340             except SSL.SSLError:
     340            except SSL.SSLError, e:
    341341                raise service_error(service_error.server_config,
    342                         "Certificates misconfigured")
     342                        "Certificates misconfigured: %s" % e)
    343343
    344344        # Of all the dumbass things.  The XMLRPC library in use here won't
     
    443443                            self.log.debug("Certificate error: %s" % e)
    444444                        raise service_error(service_error.server_config,
    445                                 "Certificates misconfigured")
     445                                "Certificates misconfigured: %s" % e)
    446446                loc = self.locator()
    447447                get_port = getattr(loc, self.port_name, None)
Note: See TracChangeset for help on using the changeset viewer.