Bump version

This commit is contained in:
Dominik Werder
2025-02-18 16:21:02 +01:00
parent 8b1b14de4f
commit 0e20b2e630
3 changed files with 12 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "daqbuffer" name = "daqbuffer"
version = "0.5.5-aa.7" version = "0.5.5-aa.8"
authors = ["Dominik Werder <dominik.werder@gmail.com>"] authors = ["Dominik Werder <dominik.werder@gmail.com>"]
edition = "2021" edition = "2021"

View File

@@ -258,14 +258,16 @@ where
match h { match h {
Ok(k) => k, Ok(k) => k,
Err(e) => { Err(e) => {
error!("Cont<F> catch_unwind {e:?}"); if let Some(v) = e.downcast_ref::<Error>() {
match e.downcast_ref::<Error>() { error!("Cont<F> catch_unwind is Error: {}", v);
Some(e) => { } else if let Some(v) = e.downcast_ref::<String>() {
error!("Cont<F> catch_unwind is Error: {e:?}"); error!("Cont<F> catch_unwind is String: {}", v);
} } else if let Some(v) = e.downcast_ref::<&str>() {
None => {} error!("Cont<F> catch_unwind is &str: {}", v);
} else {
error!("Cont<F> catch_unwind {:?}", e);
} }
Poll::Ready(Err(Error::with_msg_no_trace(format!("{e:?}")))) Poll::Ready(Err(Error::with_msg_no_trace(format!("{:?}", e))))
} }
} }
} }

View File

@@ -215,8 +215,8 @@ fn tracing_init_inner(mode: TracingMode) -> Result<(), Error> {
sr = g.parent(); sr = g.parent();
} }
} }
allow = true;
allow allow
// true
} else { } else {
false false
} }
@@ -251,8 +251,8 @@ fn tracing_init_inner(mode: TracingMode) -> Result<(), Error> {
sr = g.parent(); sr = g.parent();
} }
} }
allow = true;
allow allow
// true
} else { } else {
false false
} }