Make exception logging failures more robust
authorJeremy Stanley <fungi@yuggoth.org>
Thu, 10 Apr 2014 19:09:01 +0000 (19:09 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Thu, 10 Apr 2014 19:09:01 +0000 (19:09 +0000)
commit4283dbde7db01f814364c33280fb22525531f045
tree6bba2a2bb4c7b8c15f51540d3296b5edd55785bf
parentf611f78e9e9d85d0b3c99addb01cce8e4f9b3383
Make exception logging failures more robust

* lib/mudpy/misc.py(excepthook): When an uncaught exception is raised
and the attempt to log it fails, try to write it to stdout directly and
also mention the new exception details.
lib/mudpy/misc.py