Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrena-Corto committed Oct 9, 2024
1 parent 7065058 commit bacf5ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugin/src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ impl GeyserPlugin for SablierPlugin {
let thread_pdas = rpc_client
.get_program_accounts_with_config(&program_id, config)
.await
.map_err(PluginError::from)?;
.map_err(|err| {
info!("Error fetching Thread PDAs: {}", err);
PluginError::from(err)
})?;
info!(" - Fetched {} Thread PDAs", thread_pdas.len());

let versioned_thread_pdas: Vec<(Pubkey, VersionedThread)> = thread_pdas
Expand Down

0 comments on commit bacf5ae

Please sign in to comment.