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 authored and djc committed Mar 7, 2024
1 parent 4a4a448 commit 48ec73b
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 48ec73b

Please sign in to comment.