On peut pas redemarrer...
darcs-hash:20051118155445-d1718-9f0ef0173ca4f501e96cf280e1f1541e9a677bb2.gz
This commit is contained in:
parent
872f8bd772
commit
1434139899
1 changed files with 2 additions and 2 deletions
|
@ -139,8 +139,8 @@ if __name__ == "__main__":
|
||||||
except:
|
except:
|
||||||
import traceback
|
import traceback
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
s = StringIO()
|
ss = StringIO()
|
||||||
sys.stderr = s
|
sys.stderr = ss
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
sys.stderr = sys.__stderr__
|
sys.stderr = sys.__stderr__
|
||||||
syslog(LOG_CRIT | LOG_LOCAL4, "Erreur importante :\n%s" % s.getvalue())
|
syslog(LOG_CRIT | LOG_LOCAL4, "Erreur importante :\n%s" % s.getvalue())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue