We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 866e34d + 3149c39 commit 7de3b2fCopy full SHA for 7de3b2f
1 file changed
packages/fxa-shared/db/models/auth/email-bounce.ts
@@ -62,10 +62,10 @@ export class EmailBounce extends BaseAuthModel {
62
try {
63
await EmailBounce.callProcedure(
64
Proc.CreateEmailBounce,
65
- email,
66
- templateName,
67
- BOUNCE_TYPES[bounceType],
68
- BOUNCE_SUB_TYPES[bounceSubType],
+ email || '',
+ templateName || 'unknown',
+ BOUNCE_TYPES[bounceType] || BOUNCE_TYPES['__fxa__unmapped'],
+ BOUNCE_SUB_TYPES[bounceSubType] || BOUNCE_TYPES['__fxa__unmapped'],
69
Date.now(),
70
(diagnosticCode ?? '').substring(0, 255)
71
);
0 commit comments