fixed parentheses
This commit is contained in:
parent
2144c8c425
commit
5f1e9d6b30
1 changed files with 6 additions and 2 deletions
|
@ -63,7 +63,8 @@ fn main() {
|
|||
}
|
||||
};
|
||||
if let Ok(ttask) = import_task(&line.as_str()) {
|
||||
print!("{}", match serde_json::ser::to_string(&ttask) {
|
||||
let uuid = *ttask.uuid();
|
||||
println!("{}", match serde_json::ser::to_string(&ttask) {
|
||||
Ok(val) => val,
|
||||
Err(e) => {
|
||||
error!("{}", e);
|
||||
|
@ -71,7 +72,10 @@ fn main() {
|
|||
}
|
||||
});
|
||||
match ttask.into_filelockentry(rt.store()) {
|
||||
Ok(val) => val,
|
||||
Ok(val) => {
|
||||
println!("Task {} stored in imag", uuid);
|
||||
val
|
||||
},
|
||||
Err(e) => {
|
||||
trace_error(&e);
|
||||
error!("{}", e);
|
||||
|
|
Loading…
Reference in a new issue