Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wilyle committed Sep 1, 2023
1 parent 86a62c3 commit 71e7178
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
1 change: 1 addition & 0 deletions .accepted_words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ MappingClient
MappingClientImpl
md
microsoft
min
MockDigitalTwin
MockMappingService
MQTTProviderProxyImpl
Expand Down
12 changes: 3 additions & 9 deletions freyja/src/cartographer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use freyja_contracts::{
provider_proxy_request::{
ProviderProxySelectorRequestKind, ProviderProxySelectorRequestSender,
},
signal::{EmissionPolicy, Target, SignalPatch},
signal::{EmissionPolicy, SignalPatch, Target},
};

/// Manages mappings from the mapping service
Expand Down Expand Up @@ -118,16 +118,10 @@ impl<TMappingClient: MappingClient, TDigitalTwinAdapter: DigitalTwinAdapter>
warn!("Entity not found for signal {}", patch.id);
}
Ok(e) => {
log::error!(
"Error fetching entity for signal {}: {e:?}",
patch.id
);
log::error!("Error fetching entity for signal {}: {e:?}", patch.id);
}
Err(e) => {
log::error!(
"Error fetching entity for signal {}: {e:?}",
patch.id
);
log::error!("Error fetching entity for signal {}: {e:?}", patch.id);
}
}

Expand Down

0 comments on commit 71e7178

Please sign in to comment.