You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spending too much time on retries in the low level email sending clogs the email-queue-step.
This can lead to cascading delays if there is an outage with our sender provider.
This will cause a vercel runtime failure.
Removing the retry logic also obviates the need for separate funcs.
thrownewStackAssertionError("No recipient email address provided to sendEmail",omit(options,['emailConfig']));
255
-
}
256
-
257
-
classDoNotRetryErrorextendsError{
258
-
constructor(publicreadonlyerrorObj: {
259
-
rawError: any,
260
-
errorType: string,
261
-
canRetry: boolean,
262
-
message?: string,
263
-
}){
264
-
super("This error should never be caught anywhere else but inside the lowLevelSendEmailDirectViaProvider function, something went wrong if you see this!");
0 commit comments