On peut pas redemarrer...

darcs-hash:20051118155445-d1718-9f0ef0173ca4f501e96cf280e1f1541e9a677bb2.gz
This commit is contained in:
bernat 2005-11-18 16:54:45 +01:00
parent 872f8bd772
commit 1434139899

View file

@ -139,8 +139,8 @@ if __name__ == "__main__":
except:
import traceback
from cStringIO import StringIO
s = StringIO()
sys.stderr = s
ss = StringIO()
sys.stderr = ss
traceback.print_exc()
sys.stderr = sys.__stderr__
syslog(LOG_CRIT | LOG_LOCAL4, "Erreur importante :\n%s" % s.getvalue())