Skip to content

Commit

Permalink
streaming improved with Result (error)
Browse files Browse the repository at this point in the history
  • Loading branch information
idugalic committed Jan 3, 2025
1 parent fe105ee commit b16f64f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/adapter/event_stream/saga_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ pub async fn stream_events_to_saga(
Ok(())
}
Err(error) => {
// Handle the error, optionally break the loop based on the error
error!("Error: {}", error.message);
Err(ErrorMessage {
message: error.message,
Expand Down
1 change: 0 additions & 1 deletion src/adapter/event_stream/view_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ pub async fn stream_events_to_view(
Ok(())
}
Err(error) => {
// Handle the error
error!("Error: {}", error.message);
Err(ErrorMessage {
message: error.message,
Expand Down

0 comments on commit b16f64f

Please sign in to comment.