Paul McNett wrote:
> Uwe Grauer wrote:
>> How do you handle Database Exceptions in your new toy? ;-)
>> Did you think about it?
> 
> I'm not sure I follow the question. If an exception occurs in the data 
> layer that I'm not expecting, it won't be handled and so my 
> sys.excepthook will handle it by logging the error, emailing it to me if 
> possible, notifying the user with a friendly apologetic error message, 
> and exiting the app, with no changes made to the database since the last 
> save()/commit().
> 
> Can you think of a better way to bail out when something unexpected happens?
> 
> Paul

Of cause i can't!  :-)

Uwe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to