Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Feb 19, 2024
1 parent 07dca52 commit 8ed1e8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/publish_relay_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ pub async fn publish_relay_message(
Ok(_) => Ok(()),
Err(e) => match e {
Error::Response(rpc::Error::Handler(PublishError::MailboxLimitExceeded)) => {
// Only happens if there is no subscriber for the topic in the first place.
// So client is not expecting a response, or in the case of notify messages
// should use getNotifications to get old notifications anyway.
info!("Mailbox limit exceeded for topic {}", publish.topic);
Ok(())
}
Expand Down

0 comments on commit 8ed1e8d

Please sign in to comment.