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)
commit305d7d93122e1802b2ef840805309627b1f38e6e
tree90f494627913ad6657a50ebbfb5ff8f1756d0ccc
parentc415d839f74f63db69a33e6a75af0ccc881fadb3
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