Skip to content

Commit

Permalink
show error code in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Dec 24, 2024
1 parent d32f367 commit 61873fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "demostf-client"
version = "0.4.4"
version = "0.4.5"
authors = ["Robin Appelman <[email protected]>"]
edition = "2021"
description = "Api client for demos.tf"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 61873fb

Please sign in to comment.