diff --git a/Cargo.lock b/Cargo.lock index 02cee1c..32c789b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -255,7 +255,7 @@ checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" [[package]] name = "speare" -version = "0.1.4" +version = "0.1.5" dependencies = [ "async-trait", "derive_more", diff --git a/core/Cargo.toml b/core/Cargo.toml index 4b35834..c19aeea 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "speare" -version = "0.1.4" +version = "0.1.5" edition = "2021" license = "MIT" description = "actor-like thin abstraction over tokio::task and flume channels" diff --git a/core/src/lib.rs b/core/src/lib.rs index 7c9f5d4..ec2f119 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -197,9 +197,9 @@ where { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match self { - Self::Handle => write!(f, "Process exited due to manual request through Handle::stop"), - Self::Parent => write!(f, "Process exited due to a request from its Parent process as a part of its supervision strategy"), - Self::Err(e) => write!(f, "Process exited due to error: {e}"), + Self::Handle => write!(f, "manual exit through Handle::stop"), + Self::Parent => write!(f, "exit request from parent supervision strategy"), + Self::Err(e) => write!(f, "error: {e}"), } } }