mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-04 11:43:32 +00:00
* fix(feishu): catch unhandled promise rejection in streaming card flush timer ## What Problem This Solves The scheduled flush update in FeishuStreamingSession called `this.update(pending)` without catching potential rejections, which could cause unhandled promise rejections when card content updates fail due to transient network errors. ## Why This Change Was Made Add a `.catch()` with diagnostic logging to the scheduled flush timer's `update()` call so transient card update failures are visible without causing unhandled promise rejections. ## User Impact Scheduled streaming-card updates that fail transiently will log a diagnostic instead of producing an unhandled promise rejection. ## Evidence node scripts/run-vitest.mjs extensions/feishu/src/media.test.ts Test Files 1 passed (1) Tests 44 passed (44) pnpm exec oxfmt --check ... All matched files use the correct format. node scripts/run-oxlint.mjs ... oxlint_exit=0 git diff --check exit=0 Co-Authored-By: Claude <noreply@anthropic.com> * test(feishu): cover rejected scheduled card flush --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Peter Steinberger <steipete@gmail.com>
OpenClaw Feishu/Lark
Official OpenClaw channel plugin for Feishu and Lark workplace chats. Community maintained by @m1heng.
Install from OpenClaw:
openclaw plugin add @openclaw/feishu
Configure the Feishu/Lark app credentials in OpenClaw, then connect the plugin to the chats where agents should receive and send messages.