You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In engines/toml.rs (and similar in the other engines)
impl Engine for TOML {
fn parse(content: &str) -> Pod {
match toml::from_str::<Value>(content) {
Ok(value) => value.into(),
Err(_) => Pod::Null,
}
}
}
This makes it more difficult to troubleshoot issues with front matter parsing, since any internal error thrown by the parser is completely hidden. It would be nice if the Pod enum instead contained an error state containing whatever error type the internal parser uses. (Or something like that, I'm no expert)
The text was updated successfully, but these errors were encountered:
In
engines/toml.rs
(and similar in the other engines)This makes it more difficult to troubleshoot issues with front matter parsing, since any internal error thrown by the parser is completely hidden. It would be nice if the Pod enum instead contained an error state containing whatever error type the internal parser uses. (Or something like that, I'm no expert)
The text was updated successfully, but these errors were encountered: