Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

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

Open
kflynn opened this issue Sep 12, 2016 · 0 comments
Open

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

kflynn opened this issue Sep 12, 2016 · 0 comments

Comments

@kflynn
Copy link
Contributor

kflynn commented Sep 12, 2016

        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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant