Commit Graph

6 Commits

Author SHA1 Message Date
Ayush Ojha
4f3b78aa5e fix(gateway): treat all fetch failed TypeErrors as transient
When a TypeError("fetch failed") from undici had a cause with an
unrecognized error code, isTransientNetworkError() would recurse into
the cause, fail to match, and return false — causing the gateway to
exit via process.exit(1).

Since the outer TypeError("fetch failed") already indicates a
network-level failure, treat it as transient unconditionally regardless
of the cause chain contents.

Added tests for fetch failures with unrecognized cause and no cause.

Fixes #4425
2026-01-30 05:18:49 -08:00
Peter Steinberger
9a7160786a refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
Peter Steinberger
8d07955f2c chore: bump beta version to 2026.1.27-beta.1 2026-01-28 01:28:16 +01:00
Shadow
0770194b29 test: align unhandled rejection logs (#2980) (thanks @elliotsecops) 2026-01-27 18:11:04 -06:00
Shadow
3a25a4fa99 fix: keep unhandled rejections safe 2026-01-27 18:11:04 -06:00
elliotsecops
3b879fe524 fix(infra): prevent gateway crashes on transient network errors 2026-01-27 18:11:04 -06:00