Skip to content

Commit 4628b75

Browse files
committed
catch-typer
1 parent cdab9ab commit 4628b75

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/whatsapp.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,9 @@ export const whatsappForBusinessInjectDepsAndRun =
383383
injectTyping(() =>
384384
sendWhatsappTypingIndicator(token, toNumberId(msg))(
385385
messageId(msg),
386-
).then(() => {})
386+
).catch((e) => {
387+
console.error(e);
388+
}).then(() => {})
387389
),
388390
referenceId(msg)
389391
? injectReferenceId(() => referenceId(msg))

0 commit comments

Comments
 (0)