Skip to content

Commit 48597c2

Browse files
authored
fix: Adding additional message details to account is blocked error (#1898) (#1922)
* This came up originally in web3-storage/web3.storage#1302
1 parent 27394f6 commit 48597c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/api/src/errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class ErrorUserNotFound extends Error {
117117
ErrorUserNotFound.CODE = 'ERROR_USER_NOT_FOUND'
118118

119119
export class ErrorTokenBlocked extends Error {
120-
constructor(msg = 'API Key is blocked.') {
120+
constructor(msg = 'API Key is blocked. Please contact support@nft.storage') {
121121
super(msg)
122122
this.name = 'TokenBlocked'
123123
this.status = 403

0 commit comments

Comments
 (0)