Commit 06b6ec27 authored by Aaron Jacobs's avatar Aaron Jacobs

commonOp.respondErr

parent ea5acc6f
......@@ -201,14 +201,16 @@ func (o *commonOp) respondErr(err error) {
panic("Expect non-nil here.")
}
o.report(err)
o.Logf(
"-> (%s) error: %v",
o.op.ShortDesc(),
err)
// Send a response to the kernel.
o.bazilReq.RespondError(err)
// Report back to the connection that we are finished.
o.finish(err)
}
// Respond with the supplied response struct, which must be accepted by a
......
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