diff options
author | Teddy Wing | 2021-03-13 22:10:32 +0100 |
---|---|---|
committer | Teddy Wing | 2021-03-13 22:10:32 +0100 |
commit | 00d716fbe2925c34bcd8f0533796d2eaa2285973 (patch) | |
tree | 4a2e0db37da41cfdbd2e58aedc117247ea2a5697 /src | |
parent | 31e8add0845eb89605347405a02471efcaec4672 (diff) | |
download | mutt-ottolangy-00d716fbe2925c34bcd8f0533796d2eaa2285973.tar.bz2 |
get_email_body(): Add a real error string
Replace the temporary error string with one that provides a hair more
context.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 3c3cd0e..cd0c306 100644 --- a/src/main.rs +++ b/src/main.rs @@ -66,7 +66,7 @@ fn get_email_body(email: &[u8]) -> Result<String, Box<dyn Error>> { } } - Err("parse".into()) + Err("unable to parse email body".into()) } fn write_attribution(config: &str) -> Result<(), Box<dyn Error>> { |