debugging unhandledRejection
At work I was trying to debug a fatal error, which looked something like this:
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
TypeError: Cannot read properties of null (reading 'eventId')
at /var/li...
sparshed.hashnode.dev4 min read