mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
chore: error message
This commit is contained in:
parent
28cda22a79
commit
9edaa9183a
@ -37,7 +37,7 @@ export class SyncMessageManager {
|
||||
if (transaction) {
|
||||
return await new Promise((resolve, reject) => {
|
||||
const timer = setTimeout(() => {
|
||||
reject(new Error('publish timeout'));
|
||||
reject(new Error(`Publish message to ${channel} timeout, message: ${JSON.stringify(message)}`));
|
||||
}, 5000);
|
||||
|
||||
transaction.afterCommit(async () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user