openclaw/extensions
sirius7988 9bf7da64b6 fix(feishu): extractPermissionError also recognizes code 99991401
Previously extractPermissionError() only checked for error code 99991672,
silently swallowing other Feishu permission error codes like 99991401.
This caused resolveFeishuSenderName() to return {} instead of surfacing
permission errors when the Feishu contact API returned 99991401.

Now also checks for:
- 99991401 (scope not granted)
- 99991672 (permission denied)
- Any non-zero code with 'permission' in the error message

Fixes a bug where permission errors were silently ignored in sender name resolution.
2026-03-21 13:55:27 +08:00
..
2026-03-20 19:24:10 +00:00
2026-03-19 03:36:03 +00:00