error message?
This commit is contained in:
parent
2a50a0a6d1
commit
b20b6461eb
|
@ -206,7 +206,9 @@ impl<'a> FirehoseAdaptor for Rules<'a> {
|
|||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
let _ = kankyo::init().or_else(|_| kankyo::load_from_path("/run/keys/tron", true));
|
||||
let _ = kankyo::init()
|
||||
.or_else(|_| kankyo::load_from_path("/run/keys/tron", true))
|
||||
.map_err(|why| println!("startup err: {}", why));
|
||||
pretty_env_logger::init();
|
||||
let cfg: Config = envy::from_env()?;
|
||||
log::debug!("cfg: {:?}", cfg);
|
||||
|
|
Loading…
Reference in New Issue