Running into an error running the tracer.

This commit is contained in:
Tom Alexander
2023-04-21 14:54:29 -04:00
parent f1b0d7e6be
commit c971148871
3 changed files with 8 additions and 28 deletions

View File

@@ -3,7 +3,7 @@ use tracing_subscriber::util::SubscriberInitExt;
use tracing_subscriber::EnvFilter;
pub fn init_telemetry() -> Result<(), Box<dyn std::error::Error>> {
let env_filter = EnvFilter::try_from_default_env().unwrap_or(EnvFilter::new("WARN"));
let env_filter = EnvFilter::try_from_default_env().unwrap_or(EnvFilter::new("warn"));
// let stdout = tracing_subscriber::fmt::Layer::new()
// .pretty()

View File

@@ -117,10 +117,12 @@ pub fn org_mode_table_cell<'r, 's>(
let exit_matcher = parser_with_context!(exit_matcher_parser)(&parser_context);
let (remaining, (children, _exit_contents)) = verify(
many_till(minimal_set_object_matcher, exit_matcher),
|(children, exit_contents)| !children.is_empty() || *exit_contents == "|",
|(children, exit_contents)| !children.is_empty() || exit_contents.ends_with("|"),
)(input)?;
todo!()
let source = get_consumed(input, remaining);
Ok((remaining, TableCell { source, children }))
}
#[tracing::instrument(ret, level = "debug")]