Skip to content

Commit

Permalink
Log the target that is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
DolceTriade committed Jan 10, 2024
1 parent 67a097c commit 34e15c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blade/bep/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl crate::EventHandler for Handler {
match event.payload.as_ref() {
Some(build_event_stream::build_event::Payload::Configured(target)) => {
let mut db = db_mgr.get().context("failed to get db handle")?;
let label = target_label(event).ok_or(anyhow::anyhow!("target not found"))?;
let label = target_label(event).ok_or(anyhow::anyhow!("target not found: {event:#?}"))?;
db.upsert_target(
invocation_id,
&state::Target {
Expand Down

0 comments on commit 34e15c7

Please sign in to comment.