Print the imported string before the information output

This commit is contained in:
Matthias Beyer 2016-08-06 10:11:42 +02:00
parent d0592d0029
commit 0d2cd16e94

View file

@ -50,7 +50,7 @@ fn tw_hook(rt: &Runtime) {
let stdin = stdin.lock(); // implements BufRead which is required for `Task::import()`
match Task::import(rt.store(), stdin) {
Ok((_, uuid)) => info!("Task {} stored in imag", uuid),
Ok((_, line, uuid)) => info!("{}\nTask {} stored in imag", line, uuid),
Err(e) => {
trace_error(&e);
exit(1);