Re: [PythonCAD] Seeking code suggestions when handling exceptions

2005-05-19 Thread Art Haas
On Thu, May 19, 2005 at 07:32:04AM +0200, Noel Grandin wrote: > Hi > > My basic suggestion is either > > (a) don't do anything. If an exception happens you have already have a > problem. A signal being lost is not such a big deal. That is certainly an option. If the code isn't changed from its

Re: [PythonCAD] Seeking code suggestions when handling exceptions

2005-05-19 Thread Noel Grandin
the program as robust as possible is what I'm aiming for, so I would really hope to devise some approach better than an abrupt failure. That is pretty much what I do - my central exception handler allows the user to click continue and keep working, even if some plugin blew up. This is prett

Re: [PythonCAD] Seeking code suggestions when handling exceptions

2005-05-19 Thread Eric Wilhelm
# The following was supposedly scribed by # Noel Grandin # on Thursday 19 May 2005 08:43 am: >>the program as robust as possible is what I'm aiming for, so I would >>really hope to devise some approach better than an abrupt failure. > >That is pretty much what I do - my central exception handler >

Re: [PythonCAD] Seeking code suggestions when handling exceptions

2005-05-19 Thread Art Haas
On Thu, May 19, 2005 at 08:42:13AM -0500, Art Haas wrote: > On Thu, May 19, 2005 at 07:32:04AM +0200, Noel Grandin wrote: > > Hi > > > > My basic suggestion is either > > > > (a) don't do anything. If an exception happens you have already have a > > problem. A signal being lost is not such a big