Skip to content

Commit e0b7db5

Browse files
committed
pool: change handle relay message log level from error to warn
Signed-off-by: Yuki Kishimoto <[email protected]>
1 parent a583058 commit e0b7db5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
* pool: `RelayPool::subscribe_with_id`, `RelayPool::get_events_of` and `RelayPool::stream_events_of` REQ events only to relays with `READ` flag ([Yuki Kishimoto])
6767
* pool: bump `async-wsocket` to `v0.9` ([Yuki Kishimoto])
6868
* pool: improve `Relay::support_negentropy` method ([Yuki Kishimoto])
69+
* pool: change handle relay message log level from `error` to `warn` ([Yuki Kishimoto])
6970
* signer: update NIP-04 and NIP-44 methods signature ([Yuki Kishimoto])
7071
* webln: bump `webln` to `v0.3` ([Yuki Kishimoto])
7172
* sqlite: deprecate `SQLiteDatabase` in favor of LMDB ([Yuki Kishimoto])

crates/nostr-relay-pool/src/relay/internal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ impl InternalRelay {
870870
.await;
871871
}
872872
Ok(None) | Err(Error::MessageHandle(MessageHandleError::EmptyMsg)) => (),
873-
Err(e) => tracing::error!(
873+
Err(e) => tracing::warn!(
874874
"Impossible to handle relay message from '{}': {e}",
875875
self.url
876876
),

0 commit comments

Comments
 (0)