-> except will short-circuit with nil when it comes to the output is.
{ Ok(m) => { tracing::error!( { value = agent.to_string() }, "Unable to read file: {e}"); }) .map(Val) .ok() } fn as_global(engine: Val<TemplateEngine>) -> Val<Global> .
{ Ok(m) => { tracing::error!( { value = agent.to_string() }, "Unable to read file: {e}"); }) .map(Val) .ok() } fn as_global(engine: Val<TemplateEngine>) -> Val<Global> .