Commit 1d02045f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 30581be1
...@@ -33,7 +33,9 @@ $WENDELIN_CORE_WCFS_AUTOSTART ...@@ -33,7 +33,9 @@ $WENDELIN_CORE_WCFS_AUTOSTART
$WENDELIN_CORE_WCFS_OPTIONS $WENDELIN_CORE_WCFS_OPTIONS
""" """
import os, sys, hashlib, tempfile, subprocess, time, re from __future__ import print_function, absolute_import
import os, sys, hashlib, tempfile, subprocess, time, re, traceback
import logging as log import logging as log
from os.path import dirname from os.path import dirname
from errno import ENOENT, EEXIST from errno import ENOENT, EEXIST
...@@ -171,7 +173,9 @@ def _pinner(wconn, ctx): ...@@ -171,7 +173,9 @@ def _pinner(wconn, ctx):
if exc is None: if exc is None:
return return
log.critical('pinner failed:', exc_info=1) log.critical('pinner failed:', exc_info=1)
print('CRITICAL: pinned failed:', file=sys.stderr)
traceback.print_exc(file=sys.stderr)
print('\nCRITICAL: wcfs server will likely kill us soon.', file=sys.stderr)
defer(_) defer(_)
def trace(msg): def trace(msg):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment