Add debugging output if kairos fails to parse input
This commit is contained in:
parent
c31edd5cf4
commit
aa32dd1ec2
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue