chore: clarify bonjour fatal guard naming · openclaw/openclaw@0472b61
steipete
·
2026-04-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -341,7 +341,7 @@ export function isTransientSqliteError(err: unknown): boolean {
|
341 | 341 | return false; |
342 | 342 | } |
343 | 343 | |
344 | | -export function isKnownBonjourDependencyError(err: unknown): boolean { |
| 344 | +export function isNonFatalBonjourAdvertiserError(err: unknown): boolean { |
345 | 345 | if (!err) { |
346 | 346 | return false; |
347 | 347 | } |
@@ -379,7 +379,7 @@ export function isTransientUnhandledRejectionError(err: unknown): boolean {
|
379 | 379 | return ( |
380 | 380 | isTransientNetworkError(err) || |
381 | 381 | isTransientSqliteError(err) || |
382 | | -isKnownBonjourDependencyError(err) |
| 382 | +isNonFatalBonjourAdvertiserError(err) |
383 | 383 | ); |
384 | 384 | } |
385 | 385 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。