Add debug output what is about to be done
This commit is contained in:
parent
2b26db70ed
commit
b61547c2d1
1 changed files with 8 additions and 0 deletions
|
@ -124,6 +124,12 @@ fn create(rt: &Runtime) {
|
|||
},
|
||||
};
|
||||
|
||||
debug!("Building habit: name = {name}, basedate = {date}, recurr = {recu}, comment = {comm}",
|
||||
name = name,
|
||||
date = date,
|
||||
recu = recu,
|
||||
comm = comm);
|
||||
|
||||
let hb = HabitBuilder::default()
|
||||
.with_name(name)
|
||||
.with_basedate(parsedate(date, "date"))
|
||||
|
@ -136,6 +142,8 @@ fn create(rt: &Runtime) {
|
|||
hb
|
||||
};
|
||||
|
||||
debug!("Builder = {:?}", hb);
|
||||
|
||||
hb.build(rt.store()).map_err_trace_exit_unwrap(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue