Skip to content

Commit

Permalink
cleanup run_tracked
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Dubé <[email protected]>
  • Loading branch information
Amogh-Bharadwaj and serprex authored Jan 19, 2024
1 parent 941c64e commit a04c225
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions nexus/peer-bigquery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,10 @@ impl BigQueryQueryExecutor {
PgWireError::ApiError(err.into())
})?;

let result_set = result_set.map_err(|err| {
result_set.map_err(|err| {
tracing::error!("error running query: {}", err);
PgWireError::ApiError(err.into())
})?;

Ok(result_set)
})
}
}

Expand Down

0 comments on commit a04c225

Please sign in to comment.