sendToGroup/_shouldFailSend: Don't fail send on 401

This commit is contained in:
Scott Nonnenberg 2022-10-12 14:50:38 -07:00 committed by GitHub
parent c08608e5d0
commit 6d535cd026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View file

@ -787,11 +787,6 @@ export function _shouldFailSend(error: unknown, logId: string): boolean {
return true;
}
if (error.code === 401) {
logError('Permissions error, failing.');
return true;
}
if (error.code === 404) {
logError('Missing user or endpoint error, failing.');
return true;