From 00d716fbe2925c34bcd8f0533796d2eaa2285973 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 13 Mar 2021 22:10:32 +0100 Subject: get_email_body(): Add a real error string Replace the temporary error string with one that provides a hair more context. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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> { } } - Err("parse".into()) + Err("unable to parse email body".into()) } fn write_attribution(config: &str) -> Result<(), Box> { -- cgit v1.2.3