Commit fa1f7de7 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a0afd74a
...@@ -394,7 +394,7 @@ error _Conn::_pinner(context::Context ctx) { ...@@ -394,7 +394,7 @@ error _Conn::_pinner(context::Context ctx) {
// if pinner fails, wcfs will kill us. // if pinner fails, wcfs will kill us.
// log pinner error so that the error is not hidden. // log pinner error so that the error is not hidden.
// print to stderr as well as by default log does not print to there. // print to stderr as well as by default log does not print to there.
// XXX also catch panic/exc ? // TODO also catch panic/exc ?
if (!(err == nil || errors::Is(err, context::canceled))) { // canceled = .close asks pinner to stop if (!(err == nil || errors::Is(err, context::canceled))) { // canceled = .close asks pinner to stop
log::Fatalf("CRITICAL: %s", v(err)); log::Fatalf("CRITICAL: %s", v(err));
log::Fatalf("CRITICAL: wcfs server will likely kill us soon."); log::Fatalf("CRITICAL: wcfs server will likely kill us soon.");
......
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