Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
jsonrpsee
Commits
0f255ad3
Unverified
Commit
0f255ad3
authored
Jun 29, 2022
by
Alexandru Vasile
Browse files
rpc_server: Improve comment regarding dropped error
Signed-off-by:
Alexandru Vasile
<
alexandru.vasile@parity.io
>
parent
77ab7dec
Changes
1
Show whitespace changes
Inline
Side-by-side
core/src/server/rpc_module.rs
View file @
0f255ad3
...
@@ -751,7 +751,7 @@ impl<Context: Send + Sync + 'static> RpcModule<Context> {
...
@@ -751,7 +751,7 @@ impl<Context: Send + Sync + 'static> RpcModule<Context> {
_claimed
:
claimed
,
_claimed
:
claimed
,
};
};
// The callback returns a
n empty
`Subscription
Error` for improved API ergonomics
.
// The callback returns a `Subscription
Result` for better ergonomics and is not propagated further
.
if
let
Err
(
_
)
=
callback
(
params
,
sink
,
ctx
.clone
())
{
if
let
Err
(
_
)
=
callback
(
params
,
sink
,
ctx
.clone
())
{
tracing
::
warn!
(
"subscribe call `{}` failed"
,
subscribe_method_name
);
tracing
::
warn!
(
"subscribe call `{}` failed"
,
subscribe_method_name
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment