mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-08 00:33:12 +00:00
fix: log dial error
This commit is contained in:
parent
20f33ff450
commit
69192ddb9d
@ -343,11 +343,12 @@ export class WakuHeadless {
|
||||
|
||||
try {
|
||||
await this.waku.dial(this.lightpushNode);
|
||||
} catch {
|
||||
// Ignore dial errors
|
||||
} catch (error) {
|
||||
const message = error instanceof Error ? error.message : String(error);
|
||||
log.warn(
|
||||
"Failed to dial preferred lightpush node:",
|
||||
this.lightpushNode,
|
||||
message
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user