Skip to content

Commit

Permalink
add more descriptive error for missing email connector
Browse files Browse the repository at this point in the history
  • Loading branch information
xzilja committed Dec 20, 2023
1 parent dbf0a31 commit 41ffa07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class W3mEmailVerifyDeviceView extends LitElement {
throw new Error('w3m-email-verify-device-view: No email provided')
}
if (!this.emailConnector) {
throw new Error('w3m-email-verify-device-view: No email provided')
throw new Error('w3m-email-verify-device-view: No email connector provided')
}

return html`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class W3mUpdateEmailWalletWaitingView extends LitElement {
throw new Error('w3m-update-email-wallet-waiting-view: No email provided')
}
if (!this.emailConnector) {
throw new Error('w3m-update-email-wallet-waiting-view: No email provided')
throw new Error('w3m-update-email-wallet-waiting-view: No email connector provided')
}

return html`
Expand Down

0 comments on commit 41ffa07

Please sign in to comment.