Skip to content

Commit

Permalink
Remove dbg fmt from error type,
Browse files Browse the repository at this point in the history
since all error types now implement `Display`
  • Loading branch information
Jupeyy committed Sep 29, 2024
1 parent b77b79c commit e71c088
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CREATE DATABASE ddnet_account_test;
GRANT ALL PRIVILEGES ON ddnet_account_test.* TO 'ddnet-account-test'@localhost;
```

There has to be a smtp server running (for fake emails)
There has to be a smtp server running (for fake emails)
You might have to make sure you can send mails to test@localhost & test2@localhost:
```
sudo touch /etc/aliases
Expand Down
2 changes: 1 addition & 1 deletion lib/ddnet-account-client/src/account_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub enum AccountTokenResult {
/// A fs like error occurred.
#[error("{0}")]
FsLikeError(FsLikeError),
#[error("{0:?}")]
#[error("{0}")]
/// The account server responded with an error.
AccountServerRequstError(AccountServerRequestError<AccountTokenError>),
/// Errors that are not handled explicitly.
Expand Down
2 changes: 1 addition & 1 deletion lib/ddnet-account-client/src/credential_auth_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub enum CredentialAuthTokenResult {
#[error("{0}")]
FsLikeError(FsLikeError),
/// The account server responded with an error.
#[error("{0:?}")]
#[error("{0}")]
AccountServerRequstError(AccountServerRequestError<CredentialAuthTokenError>),
/// Errors that are not handled explicitly.
#[error("Credential authorization failed: {0}")]
Expand Down
2 changes: 1 addition & 1 deletion lib/ddnet-account-client/src/link_credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub enum LinkCredentialResult {
#[error("{0}")]
FsLikeError(FsLikeError),
/// The account server responded with an error.
#[error("{0:?}")]
#[error("{0}")]
AccountServerRequstError(AccountServerRequestError<Empty>),
/// Errors that are not handled explicitly.
#[error("Linking credential failed: {0}")]
Expand Down
2 changes: 1 addition & 1 deletion lib/ddnet-account-client/src/unlink_credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub enum UnlinkCredentialResult {
#[error("{0}")]
FsLikeError(FsLikeError),
/// The account server responded with an error.
#[error("{0:?}")]
#[error("{0}")]
AccountServerRequstError(AccountServerRequestError<Empty>),
/// Errors that are not handled explicitly.
#[error("Unlinking credential failed: {0}")]
Expand Down

0 comments on commit e71c088

Please sign in to comment.