Commit d29b0dae authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8b0ad5b4
......@@ -101,7 +101,7 @@ error _WatchLink::close() {
// XXX -> we now have `kill -QUIT` to wcfs.go on test timeout - remove ^^^ comments?
error err2 = wlink._serveWG->wait();
// canceled is expected and ok
if (err2 == context::canceled)
if (err2 == context::canceled) // FIXME -> errors.Cause(err2) | errors.Is(err2, context::canceled)
err2 = nil;
error err3 = wlink._f->close();
......
......@@ -950,7 +950,6 @@ def doCheckingPin(f, pinokByWLink, pinfunc=None): # -> []event(str)
except Exception as e:
if e is context.canceled:
return # cancel is expected after f completes
#reraise(e, None, e.__traceback__)
raise
fail("extra pin message received: %r" % req.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