Skip to content

Commit

Permalink
fix: SendAlert io::ErrorKind should be InvalidData
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Mar 6, 2024
1 parent 4a4a448 commit a1385ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
});
}
};
Expand Down

0 comments on commit a1385ec

Please sign in to comment.