Closed thewatermethod closed 2 weeks ago
Found by @kryswisnaskas during her review, although unrelated will try to address here
I am still seeing an error if there is a failed notification (in onFailedNotification
)
Following is the job.data
that is being sent to the logger
for the reportApprovedDigest
(the name is obfuscated)
{
user: {
fullName: 'Joe Smith',
nameWithNationalCenters: 'Joe Smith, ',
id: 907,
homeRegionId: 6,
hsesUserId: '56181',
hsesUsername: 'Joe Smith@redacted.com',
hsesAuthorities: [ 'ROLE_FEDERAL' ],
name: 'Joe Smith',
phoneNumber: null,
email: 'Joe Smith@redacted.com',
flags: [],
lastLogin: '2024-10-27T10:46:13.505Z',
createdAt: '2024-09-13T16:43:51.904Z',
updatedAt: '2024-10-27T10:46:13.505Z',
validationStatus: [ [Object] ]
},
reports: [],
type: 'reportApprovedDigest',
freq: 'today',
subjectFreq: 'daily'
}
line 100
2024-11-08T16:23:10.408Z AUDIT error: Queue encountered an error: Cannot read properties of undefined (reading 'displayId') {}
I verified that the digest notification logging is still outstanding. We have that covered in TTAHUB-2099 though.
@kryswisnaskas I believe I've addressed your feedback
Description of change
How to test
Issue(s)
Checklists
Every PR
Before merge to main
Production Deploy
After merge/deploy