diff --git a/src/core/error.rs b/src/core/error.rs index 5a671da4..40ad8ecc 100644 --- a/src/core/error.rs +++ b/src/core/error.rs @@ -37,7 +37,7 @@ pub enum Error { #[from] source: rust_rocksdb::Error, }, - #[error("Could not generate an image.")] + #[error("Could not generate an image: {source}")] Image { #[from] source: image::error::ImageError, @@ -52,14 +52,14 @@ pub enum Error { #[from] source: regex::Error, }, - #[error("{0}")] + #[error("Remote server {0} responded with: {1}")] Federation(OwnedServerName, RumaError), #[error("Could not do this io: {source}")] Io { #[from] source: std::io::Error, }, - #[error("There was a problem with your configuration file: {0}")] + #[error("There was a problem with your configuration: {0}")] BadConfig(String), #[error("{0}")] BadServerResponse(&'static str),