Skip to content

Commit

Permalink
fix: ignore corrupted current_action file
Browse files Browse the repository at this point in the history
  • Loading branch information
de-sh committed Oct 10, 2024
1 parent 2498e28 commit 067f017
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion uplink/src/base/bridge/actions_lane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ impl ActionsBridge {
pub async fn start(&mut self) -> Result<(), Error> {
let mut metrics_timeout = interval(self.config.stream_metrics.timeout);
let mut end: Pin<Box<Sleep>> = Box::pin(time::sleep(Duration::from_secs(u64::MAX)));
self.load_saved_action()?;
if let Err(e) = self.load_saved_action() {
error!("Couldn't load saved action: {e}");
}

loop {
select! {
Expand Down

0 comments on commit 067f017

Please sign in to comment.