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
Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,7 @@ To see all development ports, refer to the index.html of `apps/dev-launchpad/pub
108
108
- Any design components you add or modify in the dashboard, update the Playground page accordingly to showcase the changes.
109
109
- Unless very clearly equivalent from types, prefer explicit null/undefinedness checks over boolean checks, eg. `foo == null` instead of `!foo`.
110
110
- Ensure **aggressively** that all code has low coupling and high cohesion. This is really important as it makes sure our code remains consistent and maintainable. Eagerly refactor things into better abstractions and look out for them actively.
111
+
- Whenever you change the URL of a page in the docs (or remove one), add a redirect in the docs-mintlify/docs.json file to make sure we don't lose any SEO juice.
111
112
112
113
### Code-related
113
114
- Use ES6 maps instead of records wherever you can.
@@ -168,6 +175,16 @@ async function _lowLevelSendEmailWithoutRetries(options: LowLevelSendEmailOption
168
175
message: 'Connection to email server was lost unexpectedly. This could be due to incorrect email server port configuration or a temporary network issue. Please verify your configuration and try again.',
169
176
}asconst);
170
177
}
178
+
// 4yz error codes are considered temporary errors in SMTP, so they should be retried anyway
179
+
// This is fallback logic for a code we don't explicitly capture but should still be retryable and we have the code
180
+
if(is4yzSMTPResponseCode(responseCode)){
181
+
returnResult.error({
182
+
rawError: error,
183
+
errorType: 'TRANSIENT_NEGATIVE_COMPLETION_REPLY',
184
+
canRetry: true,
185
+
message: 'The email server returned a temporary error. Please try again later.'+getServerResponse(error),
0 commit comments