connector-contract-v3: handle the Result of add_generic_backing_store (CultLib a4eae90)

The previous commit does not build with the daemon feature: the pinned
CultCache returns a Result there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-28 11:13:28 +01:00
commit e669d2b867

View file

@ -159,9 +159,12 @@ impl TransportService {
replay_store
.register_entry_type::<ReplayRecord>()
.map_err(replay_store_error)?;
replay_store.add_generic_backing_store(
OwnedRedbMessagePackBackingStore::new(replay_store_path).map_err(replay_store_error)?,
);
replay_store
.add_generic_backing_store(
OwnedRedbMessagePackBackingStore::new(replay_store_path)
.map_err(replay_store_error)?,
)
.map_err(replay_store_error)?;
replay_store
.pull_all_backing_stores()
.map_err(replay_store_error)?;