-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
@@ -215,7 +215,7 @@ impl<P, Client> AuthorApi<TxHash<P>, BlockHash<P>> for Author<P, Client> | |||
Ok(watcher) => { | |||
subscriptions.add(subscriber, move |sink| { | |||
sink | |||
.sink_map_err(|_| unimplemented!()) | |||
.sink_map_err(|e| log::debug!("Subscription sink failed: {:?}", e)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a target maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other logs in the crate also don't use any target
🙈
But I also don't have a better target than the automatic sc_rpc
. I could just come up with sc-rpc
🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sc-rpc
sounds good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this in another PR if we really want it. None of the RPC logging calls in client/rpc
have any target set (I checked), so if we want to change this we should update all of them.
No description provided.