Re: Django gives little information about custom raised exceptions

2009-06-17 Thread Ben Davis
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

Django gives little information about custom raised exceptions

2009-06-15 Thread Nick Fishman
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