diff options
author | initard <solo@softwareag.com> | 2022-03-02 15:30:49 +0000 |
---|---|---|
committer | initard <solo@softwareag.com> | 2022-03-11 15:42:47 +0000 |
commit | d1beb7a7a0d32a5e50c8c00d1f3da983f25b8647 (patch) | |
tree | fe347bc64c169f8efb71b055180c8b1b6ff1031f /crates/core/tedge_agent | |
parent | 93dabe8a9f69cd4f5b73e778d07fc8a8a22a83d9 (diff) |
error handling on tedge-mapper start up
Signed-off-by: initard <solo@softwareag.com>
Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
Diffstat (limited to 'crates/core/tedge_agent')
-rw-r--r-- | crates/core/tedge_agent/src/state.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/tedge_agent/src/state.rs b/crates/core/tedge_agent/src/state.rs index fb59c160..e58052e5 100644 --- a/crates/core/tedge_agent/src/state.rs +++ b/crates/core/tedge_agent/src/state.rs @@ -31,7 +31,7 @@ impl StateRepository for AgentStateRepository { Err(err) => { error!("Error reading: {:?}", &self.state_repo_path); - return Err(StateError::FromIo(err)); + Err(StateError::FromIo(err)) } } } |