Skip to content

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

Description

@brettski

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions