Don't fallback to client-fanout on timeout, and more logs
This commit is contained in:
parent
2b2594c20a
commit
f533517672
1 changed files with 5 additions and 3 deletions
|
@ -600,11 +600,13 @@ export async function sendToGroupViaSenderKey(options: {
|
|||
}
|
||||
}
|
||||
|
||||
throw new Error(
|
||||
`sendToGroupViaSenderKey/${logId}: Returned unexpected error ${
|
||||
log.error(
|
||||
`sendToGroupViaSenderKey/${logId}: Returned unexpected 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
|
||||
|
|
Loading…
Add table
Reference in a new issue