Skip to Content.
Sympa Menu

devel - [sympa-developpers] Sympa and croak

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: [sympa-developpers] Sympa and croak
  • Date: Fri, 07 Dec 2012 11:03:07 +0100

Hi guys,

I see an alarmingly growing number of croak calls in the Sympa code. I think I misunderstand what this function does.
As far as I understand it, it simply kills the program after having issued a last log. However, it looks like Sympa doesn't die any time corak is called, so I think I don't fully understand what exactly is the effect of croak.

In which cases, in our code, will croak actually kill the process? Because we must not kill our processes on errors. Errors will happen all the time. We must warn users, send mail, but never kill the processes, except if they can't access vital ressources, such as database.

Best regards,

David

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page