restore daemon: log about doing basic system env setup
debugging history showed that its surely nice to have more logs at when stuff happens (and thus fails) Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9edf96e6b6
commit
3f780ddf73
|
@ -53,7 +53,8 @@ fn main() -> Result<(), Error> {
|
|||
.format_timestamp_millis()
|
||||
.init();
|
||||
|
||||
setup_system_env()?;
|
||||
info!("setup basic system environment...");
|
||||
setup_system_env().map_err(|err| format_err!("system environment setup failed: {}", err))?;
|
||||
|
||||
// scan all attached disks now, before starting the API
|
||||
// this will panic and stop the VM if anything goes wrong
|
||||
|
|
Loading…
Reference in New Issue