This is just a shot in the dark, but you might try setting the "message"
property on your exception object. It could be that django's pretty
exception printing is calling that directly instead of casting to a string.
If that's the case, you should file a bug because Exception.message is
deprecat
Hey everyone,
I'm writing a project that does some communication with proprietary devices
on a non-standard protocol, so I've written a custom exception class that
extends Exception and has some additional useful parameters. However, when I
raise an exception instantiated from my class, the pretty
2 matches
Mail list logo