From 48ec73bb05256734b7928877716bcb24dbff9f72 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), }); } };