From 166c6a78f695feba4061c882b422bcbe4eea9182 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Wed, 13 Jan 2021 11:53:32 +0100 Subject: [PATCH] Change error formatting to display inner value of send errors Signed-off-by: Trivernis --- Cargo.toml | 2 +- src/utils/result.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d675e8e..b037d92 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = "OpenCL Stream execution framework" repository = "https://github.com/parallel-programming-hwr/ocl-stream-rs" license = "Apache-2.0" readme = "README.md" -version = "0.3.3" +version = "0.3.4" authors = ["Trivernis "] edition = "2018" diff --git a/src/utils/result.rs b/src/utils/result.rs index 01f753d..ffc7e08 100644 --- a/src/utils/result.rs +++ b/src/utils/result.rs @@ -19,7 +19,7 @@ pub enum OCLStreamError { #[error("Stream Receive Error")] RecvError(#[from] RecvError), - #[error("Stream Send Error")] + #[error("Stream Send Error {0:?}")] SendError(#[from] Box), }