Add debugging output if kairos fails to parse input

This commit is contained in:
Matthias Beyer 2018-03-21 19:00:34 +01:00
parent c31edd5cf4
commit aa32dd1ec2

View file

@ -348,6 +348,7 @@ pub mod builder {
}
if let Err(e) = ::kairos::parser::parse(&recur) {
debug!("Kairos failed: {:?}", e);
return Err(e).map_err(From::from);
}
let date = date_to_string(&dateobj);