Don't fallback to client-fanout on timeout, and more logs
This commit is contained in:
parent
2b2594c20a
commit
f533517672
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue