in reply to dbi: PrintError and RaiseError
Hi,
Depends on your code and what it's doing. Dieing is an options, especially on programs that need to run once and have a known way of checking them. If you're writing a long running daemon that is logging to a db then you quite probably don't want to die. Far better to have a period of logging not working than a period of your critical application being stopped!!