Change error formatting to display inner value of send errors

Signed-off-by: Trivernis <trivernis@protonmail.com>
main
Trivernis 3 years ago
parent 4db82ad2c8
commit 166c6a78f6
No known key found for this signature in database
GPG Key ID: EB543D89E02BC83F

@ -4,7 +4,7 @@ description = "OpenCL Stream execution framework"
repository = "https://github.com/parallel-programming-hwr/ocl-stream-rs" repository = "https://github.com/parallel-programming-hwr/ocl-stream-rs"
license = "Apache-2.0" license = "Apache-2.0"
readme = "README.md" readme = "README.md"
version = "0.3.3" version = "0.3.4"
authors = ["Trivernis <trivernis@protonmail.com>"] authors = ["Trivernis <trivernis@protonmail.com>"]
edition = "2018" edition = "2018"

@ -19,7 +19,7 @@ pub enum OCLStreamError {
#[error("Stream Receive Error")] #[error("Stream Receive Error")]
RecvError(#[from] RecvError), RecvError(#[from] RecvError),
#[error("Stream Send Error")] #[error("Stream Send Error {0:?}")]
SendError(#[from] Box<dyn Error + Send + Sync>), SendError(#[from] Box<dyn Error + Send + Sync>),
} }

Loading…
Cancel
Save