Log endpoint when we can't connect to it

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
Lee Smet
2024-01-22 15:43:46 +01:00
parent a2c166d9e0
commit db0ce69e79
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Prefix decoding is now more resilient to bad prefix lengths.
- The `-k/--key-file` flag is now global, allowing you to specify it for (inspect)
sub commands.
- Log the actual endpoint when we can't connect to it
## [0.3.0] - 2024-01-17
+1 -1
View File
@@ -237,7 +237,7 @@ impl Inner {
}
}
Err(e) => {
error!("Couldn't connect to remote: {e}");
error!("Couldn't connect to {endpoint}: {e}");
(endpoint, None)
}
}