datawire / quark

Quark is a specialized language for defining and implementing communication protocols in multiple languages.
http://datawire.github.io/quark/
Apache License 2.0
98 stars 24 forks source link

_Lock._fail creates a broken traceback in the Python runtime #259

Open kflynn opened 8 years ago

kflynn commented 8 years ago
        log.critical("msg",
            exc_info=(Exception, Exception(repr(self._lock)),
                traceback.extract_stack()))

This creates an exc_info that causes Python 2.7.10's logging to raise an exception.