Skip to content

Commit

Permalink
Merge pull request #9 from TomPridham/fix/disconnect-err-message
Browse files Browse the repository at this point in the history
fix: clarify actor disconnect error message
  • Loading branch information
popzxc authored Jan 21, 2022
2 parents 8e22042 + b6395a3 commit 0290e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub enum SendError {

impl std::fmt::Display for SendError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "Actor does not accepting messages")
write!(f, "Actor has disconnected and is not accepting messages.")
}
}

Expand Down

0 comments on commit 0290e44

Please sign in to comment.