From a1385ecc50db1f3a41ad7b415eb3a04a1daf677c Mon Sep 17 00:00:00 2001 From: Jacob Rothstein Date: Wed, 6 Mar 2024 11:31:58 -0800 Subject: [PATCH] fix: SendAlert io::ErrorKind should be InvalidData --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 1b3119c4..06fd30f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -327,7 +327,7 @@ where alert, // TODO(eliza): should this really return an `io::Error`? // Probably not... - error: io::Error::new(io::ErrorKind::Other, error), + error: io::Error::new(io::ErrorKind::InvalidData, error), }); } };