-
Committer:
Robert Collins
-
Date:
2007-04-26 01:48:29 UTC
-
mto:
This revision was merged to the branch mainline in
revision
2457.
-
Revision ID:
robertc@robertcollins.net-20070426014829-znbzqzsk1gq68xqh
Fix the 'Unprintable error' message display to use the repr of the
exception that prevented printing the error because the str value for it
is often not useful in debugging (e.g. KeyError('foo') has a str() of
'foo' but a repr of 'KeyError('foo')' which is much more useful.
(Robert Collins)