We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b4b34c commit b203adbCopy full SHA for b203adb
capnp-rpc/src/rpc.rs
@@ -354,7 +354,7 @@ fn to_pipeline_ops(
354
}
355
356
fn from_error(error: &Error, mut builder: exception::Builder) {
357
- builder.set_reason(&error.to_string());
+ builder.set_reason(error.to_string());
358
let typ = match error.kind {
359
::capnp::ErrorKind::Failed => exception::Type::Failed,
360
::capnp::ErrorKind::Overloaded => exception::Type::Overloaded,
0 commit comments