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
polkadot
Commits
77b3aa5c
Unverified
Commit
77b3aa5c
authored
May 18, 2021
by
Bernhard Schuster
Committed by
GitHub
May 18, 2021
Browse files
reword error: channel is _terminated and_ empty (#3041)
parent
cbf2f066
Pipeline
#138466
passed with stages
in 30 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
node/overseer/src/lib.rs
View file @
77b3aa5c
...
...
@@ -887,7 +887,7 @@ impl<M: Send + 'static> SubsystemContext for OverseerSubsystemContext<M> {
// wait for next signal.
let
signal
=
self
.signals
.next
()
.await
.ok_or
(
SubsystemError
::
Context
(
"
No more messages in rx queue to process
"
"
Signal channel is terminated and empty.
"
.to_owned
()
))
?
;
...
...
@@ -906,7 +906,7 @@ impl<M: Send + 'static> SubsystemContext for OverseerSubsystemContext<M> {
signal
=
await_signal
=>
{
let
signal
=
signal
.ok_or
(
SubsystemError
::
Context
(
"
No more messages in rx queue to process
"
"
Signal channel is terminated and empty.
"
.to_owned
()
))
?
;
...
...
@@ -915,7 +915,7 @@ impl<M: Send + 'static> SubsystemContext for OverseerSubsystemContext<M> {
msg
=
await_message
=>
{
let
packet
=
msg
.ok_or
(
SubsystemError
::
Context
(
"
No more messages in rx queue to process
"
"
Message channel is terminated and empty.
"
.to_owned
()
))
?
;
...
...
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