Skip to content

Commit

Permalink
pool: change handle relay message log level from error to warn
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Kishimoto <[email protected]>
  • Loading branch information
yukibtc committed Sep 19, 2024
1 parent a583058 commit e0b7db5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
* pool: `RelayPool::subscribe_with_id`, `RelayPool::get_events_of` and `RelayPool::stream_events_of` REQ events only to relays with `READ` flag ([Yuki Kishimoto])
* pool: bump `async-wsocket` to `v0.9` ([Yuki Kishimoto])
* pool: improve `Relay::support_negentropy` method ([Yuki Kishimoto])
* pool: change handle relay message log level from `error` to `warn` ([Yuki Kishimoto])
* signer: update NIP-04 and NIP-44 methods signature ([Yuki Kishimoto])
* webln: bump `webln` to `v0.3` ([Yuki Kishimoto])
* sqlite: deprecate `SQLiteDatabase` in favor of LMDB ([Yuki Kishimoto])
Expand Down
2 changes: 1 addition & 1 deletion crates/nostr-relay-pool/src/relay/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ impl InternalRelay {
.await;
}
Ok(None) | Err(Error::MessageHandle(MessageHandleError::EmptyMsg)) => (),
Err(e) => tracing::error!(
Err(e) => tracing::warn!(
"Impossible to handle relay message from '{}': {e}",
self.url
),
Expand Down

0 comments on commit e0b7db5

Please sign in to comment.