log to say we saved keys
This commit is contained in:
parent
aeb13a83bc
commit
6d4265478d
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1997,7 +1997,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tesla-auth-callback-watcher"
|
||||
version = "0.2.3"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"alex-utils",
|
||||
"chrono",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "tesla-auth-callback-watcher"
|
||||
version = "0.2.3"
|
||||
version = "0.3.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Alex Janka <alex@alexjanka.com>
|
||||
|
||||
pkgname=tesla-auth-callback-watcher
|
||||
pkgver=0.2.3
|
||||
pkgver=0.3.0
|
||||
pkgrel=1
|
||||
pkgdesc="server for tesla auth callbacks"
|
||||
arch=('x86_64' 'aarch64')
|
||||
|
|
|
@ -177,7 +177,7 @@ fn save_auth(keys: AuthKeySuccess) {
|
|||
.map(|v| v.join(chrono::Local::now().to_rfc3339()));
|
||||
match auth_info.save(filename.as_deref()) {
|
||||
Ok(Some(v)) => log::warn!("could not save keys! keys: {v:?}"),
|
||||
Ok(None) => {}
|
||||
Ok(None) => log::warn!("saved keys to {filename:?}"),
|
||||
Err(e) => log::error!("error saving keys: {e:?}"),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue