Don't fallback to client-fanout on timeout, and more logs

This commit is contained in:
Alvaro 2022-09-30 14:33:24 -06:00 committed by GitHub
parent 2b2594c20a
commit f533517672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -600,11 +600,13 @@ export async function sendToGroupViaSenderKey(options: {
} }
} }
throw new Error( log.error(
`sendToGroupViaSenderKey/${logId}: Returned unexpected error ${ `sendToGroupViaSenderKey/${logId}: Returned unexpected error code: ${
error.code error.code
}. Failing over. ${error.stack || error}` }, error class: ${typeof error}`
); );
throw error;
} }
// 11. Return early if there are no normal send recipients // 11. Return early if there are no normal send recipients