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

.

parent 30581be1
......@@ -33,7 +33,9 @@ $WENDELIN_CORE_WCFS_AUTOSTART
$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
from os.path import dirname
from errno import ENOENT, EEXIST
......@@ -171,7 +173,9 @@ def _pinner(wconn, ctx):
if exc is None:
return
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(_)
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