Skip to content

Commit dfabf05

Browse files
author
Claude Code
committed
bug fix
1 parent ccb8c29 commit dfabf05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rust_snuba/src/strategies/blq_router.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ where
208208
// the pipeline cant make progress until this completes anyways so it should be fine
209209
let flush_results = self.producer.join(Some(Duration::from_secs(5))).unwrap();
210210
self.state = State::Flushing(flush_results);
211-
Ok(())
211+
Err(SubmitError::MessageRejected(
212+
sentry_arroyo::processing::strategies::MessageRejected { message },
213+
))
212214
}
213215
(true, State::Flushing(_)) | (false, State::Flushing(_)) => {
214216
Err(SubmitError::MessageRejected(

0 commit comments

Comments
 (0)