add timestamos to dump info

This commit is contained in:
Marin Postma
2021-05-30 15:55:17 +02:00
parent 39c16c0fe4
commit 33c6c4f0ee
5 changed files with 15 additions and 7 deletions

View File

@ -5,7 +5,6 @@ use std::{
path::{Path, PathBuf},
};
use anyhow::Context;
use heed::{EnvOpenOptions, RoTxn};
use serde::{Deserialize, Serialize};
use uuid::Uuid;
@ -84,8 +83,6 @@ impl UpdateStore {
std::fs::copy(src, dst)?;
}
println!("copied files");
let update_json = UpdateEntry {
uuid,
update: update.into(),

View File

@ -168,7 +168,7 @@ impl UpdateStore {
match res {
Ok(Some(_)) => (),
Ok(None) => break,
Err(e) => panic!("error while processing update: {}", e),
Err(e) => error!("error while processing update: {}", e),
}
}
// the ownership on the arc has been taken, we need to exit.