v1.9.9-pre-6: clean exit
All checks were successful
Build and release .deb / Release (push) Successful in 51s
All checks were successful
Build and release .deb / Release (push) Successful in 51s
This commit is contained in:
parent
0205b9be37
commit
1552a10518
3 changed files with 8 additions and 5 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -239,7 +239,7 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
|
|||
|
||||
[[package]]
|
||||
name = "charge-controller-supervisor"
|
||||
version = "1.9.9-pre-5"
|
||||
version = "1.9.9-pre-6"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
|
@ -2201,7 +2201,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tesla-charge-controller"
|
||||
version = "1.9.9-pre-5"
|
||||
version = "1.9.9-pre-6"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
|
|
|
@ -4,7 +4,7 @@ default-members = ["charge-controller-supervisor"]
|
|||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "1.9.9-pre-5"
|
||||
version = "1.9.9-pre-6"
|
||||
|
||||
[workspace.lints.clippy]
|
||||
pedantic = "warn"
|
||||
|
|
|
@ -90,7 +90,6 @@ async fn watch(args: Args) -> eyre::Result<()> {
|
|||
match v {
|
||||
Some(Err(e)) => {
|
||||
log::error!("{e:?}");
|
||||
std::process::exit(1);
|
||||
}
|
||||
_ => {
|
||||
log::error!("no controller tasks left???");
|
||||
|
@ -98,7 +97,11 @@ async fn watch(args: Args) -> eyre::Result<()> {
|
|||
}
|
||||
}
|
||||
v = server_task => {
|
||||
log::error!("server exited: {v:#?}");
|
||||
if let Err(e)=v {
|
||||
log::error!("server exited: {e:#?}");
|
||||
} else {
|
||||
std::process::exit(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue