Unverified Commit 77b3aa5c authored by Bernhard Schuster's avatar Bernhard Schuster Committed by GitHub
Browse files

reword error: channel is _terminated and_ empty (#3041)

parent cbf2f066
Pipeline #138466 passed with stages
in 30 minutes and 53 seconds
......@@ -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()
))?;
......
Supports Markdown
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