Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brinks: TypeError: Cannot read properties of undefined (reading 'firstName') #214

Open
brettski opened this issue Apr 7, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@brettski
Copy link
Contributor

brettski commented Apr 7, 2023

brinks service received a new error on 4/7 where first name was not available.

The error happened sending to Slack is seems /workspace/lib/notifications/slack.js:131

TypeError: Cannot read properties of undefined (reading 'firstName')
    at Object.subscriptionRenewed (/workspace/lib/notifications/slack.js:131:30)
    at EventEmitter.sendSubRenewalSlack (/workspace/lib/events/orders.js:110:20)
    at EventEmitter.emit (node:events:525:35)
    at EventEmitter.emit (node:domain:489:12) 

No entries in Sentry.
There are two instances of this error at 09:40 and 09:52. The Stripe event history entries are:
evt_1MuGSyBvVBgmhQW4qtymtuEL
evt_1MuGeHBvVBgmhQW4Tnan1I53

Not seeing anything immediately incorrect with the data records.

Neither of these two made it to Slack.

@brettski brettski added the bug Something isn't working label Apr 7, 2023
@brettski brettski self-assigned this Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant