File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,12 @@ export class ChatWootErrorReporter {
3939 }
4040 const template = this . l . key ( TKey . JOB_REPORT_ERROR ) ;
4141 const nextDelay = NextAttemptDelayInWholeSeconds ( this . job ) ;
42+ if ( nextDelay ) {
43+ // TODO: Add a way to enable it back in config
44+ // https://github.com/devlikeapro/waha/issues/1395
45+ // There's retries more left - ignore it for now
46+ return ;
47+ }
4248 const attempts = {
4349 current : this . job . attemptsMade + 1 ,
4450 max : this . job . opts ?. attempts || 1 ,
@@ -77,6 +83,10 @@ export class ChatWootErrorReporter {
7783 type : MessageType ,
7884 replyTo ?: number ,
7985 ) : Promise < void > {
86+ // TODO: Add a way to enable it back in config
87+ // https://github.com/devlikeapro/waha/issues/1395
88+ return null ;
89+
8090 const template = this . l . key ( TKey . JOB_REPORT_SUCCEEDED ) ;
8191 const attempts = {
8292 current : this . job . attemptsMade + 1 ,
You can’t perform that action at this time.
0 commit comments