diff --git a/README.md b/README.md index 9e3bfa6..45eb675 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/lib/ddnet-account-client/src/account_token.rs b/lib/ddnet-account-client/src/account_token.rs index 121b4a9..b1f2e88 100644 --- a/lib/ddnet-account-client/src/account_token.rs +++ b/lib/ddnet-account-client/src/account_token.rs @@ -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), /// Errors that are not handled explicitly. diff --git a/lib/ddnet-account-client/src/credential_auth_token.rs b/lib/ddnet-account-client/src/credential_auth_token.rs index 5e1ee11..0c7227e 100644 --- a/lib/ddnet-account-client/src/credential_auth_token.rs +++ b/lib/ddnet-account-client/src/credential_auth_token.rs @@ -27,7 +27,7 @@ pub enum CredentialAuthTokenResult { #[error("{0}")] FsLikeError(FsLikeError), /// The account server responded with an error. - #[error("{0:?}")] + #[error("{0}")] AccountServerRequstError(AccountServerRequestError), /// Errors that are not handled explicitly. #[error("Credential authorization failed: {0}")] diff --git a/lib/ddnet-account-client/src/link_credential.rs b/lib/ddnet-account-client/src/link_credential.rs index 5c9e7aa..12e5cad 100644 --- a/lib/ddnet-account-client/src/link_credential.rs +++ b/lib/ddnet-account-client/src/link_credential.rs @@ -21,7 +21,7 @@ pub enum LinkCredentialResult { #[error("{0}")] FsLikeError(FsLikeError), /// The account server responded with an error. - #[error("{0:?}")] + #[error("{0}")] AccountServerRequstError(AccountServerRequestError), /// Errors that are not handled explicitly. #[error("Linking credential failed: {0}")] diff --git a/lib/ddnet-account-client/src/unlink_credential.rs b/lib/ddnet-account-client/src/unlink_credential.rs index 0c1ebcd..6c11f27 100644 --- a/lib/ddnet-account-client/src/unlink_credential.rs +++ b/lib/ddnet-account-client/src/unlink_credential.rs @@ -21,7 +21,7 @@ pub enum UnlinkCredentialResult { #[error("{0}")] FsLikeError(FsLikeError), /// The account server responded with an error. - #[error("{0:?}")] + #[error("{0}")] AccountServerRequstError(AccountServerRequestError), /// Errors that are not handled explicitly. #[error("Unlinking credential failed: {0}")]