specify which channel is erroring
This commit is contained in:
parent
8f419109c3
commit
89f6cd11c5
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -2256,7 +2256,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tesla-charge-controller"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
dependencies = [
|
||||
"async-channel",
|
||||
"chrono",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "tesla-charge-controller"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
edition = "2021"
|
||||
license = "MITNFA"
|
||||
description = "Controls Tesla charge rate based on solar charge data"
|
||||
|
|
|
@ -80,7 +80,7 @@ async fn main() {
|
|||
_ = interval.tick() => pli.refresh(),
|
||||
message = pli_receiver.recv() => match message {
|
||||
Ok(message) => pli.process_request(message),
|
||||
Err(e) => error!("Error on receive channel: {e:?}")
|
||||
Err(e) => error!("Error on PLI receive channel: {e:?}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ async fn main() {
|
|||
_ = interval.tick() => interface.refresh().await,
|
||||
message = api_receiver.recv() => match message {
|
||||
Ok(message) => interface.process_request(message).await,
|
||||
Err(e) => error!("Error on receive channel: {e:?}")
|
||||
Err(e) => error!("Error on Tesla receive channel: {e:?}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue