show error code in error message

This commit is contained in:
Robin Appelman 2024-12-24 18:07:37 +01:00
commit 61873fbee7
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ pub enum Error {
InvalidApiKey,
#[error("Hash mismatch")]
HashMisMatch,
#[error("Unknown server error")]
#[error("Unknown server error {0}")]
ServerError(u16),
#[error("Invalid response: {0}")]
InvalidResponse(String),