Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Nov 13, 2024
1 parent 32d4f6d commit db6d82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay-server/src/services/buffer/envelope_stack/caching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ where

async fn flush(mut self) {
if let Some(envelope) = self.cached {
if let Err(_) = self.inner.push(envelope).await {
if self.inner.push(envelope).await.is_err() {
relay_log::error!(
"error while pushing the cached envelope in the inner stack during flushing",
);
Expand Down

0 comments on commit db6d82b

Please sign in to comment.