Print the imported string before the information output
This commit is contained in:
parent
d0592d0029
commit
0d2cd16e94
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ fn tw_hook(rt: &Runtime) {
|
||||||
let stdin = stdin.lock(); // implements BufRead which is required for `Task::import()`
|
let stdin = stdin.lock(); // implements BufRead which is required for `Task::import()`
|
||||||
|
|
||||||
match Task::import(rt.store(), stdin) {
|
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) => {
|
Err(e) => {
|
||||||
trace_error(&e);
|
trace_error(&e);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in a new issue