update
This commit is contained in:
@@ -145,7 +145,9 @@ export class SqsPosterWorker {
|
||||
return r
|
||||
} catch (e) {
|
||||
this.logger.error(e);
|
||||
await this.notifyService.sendMessageToTele(`Worker==> doReplyTweet error:${e.message}`)
|
||||
console.log("Mã lỗi:", e.code); // Ví dụ: 'ECONNABORTED' (timeout), 'ERR_NETWORK' (mất mạng)
|
||||
console.log("Thông báo:", e.message);
|
||||
await this.notifyService.sendMessageToTele(`Worker==> doReplyTweet error:${e.code} - ${e.message}`)
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user