refactor: replaced dbg! with trace macro (#1314)

replaced dbg! with trace macro

closes #1309
This commit is contained in:
Taddes 2022-06-10 15:42:51 -04:00 committed by GitHub
parent 221705b7ea
commit 03c059cd9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 9 deletions

View File

@ -6,14 +6,11 @@
#
version: 2.1
commands:
setup-rust:
display-rust:
steps:
- run:
name: Setup Rust
command: |
rustup install 1.60.0
rustup default 1.60.0
rustup update
name: Display Rust Version
command:
rustc --version
setup-rust-check:
steps:
@ -169,7 +166,7 @@ jobs:
password: $DOCKER_PASS
steps:
- checkout
- setup-rust
- display-rust
- setup-rust-check
- setup-gcp-grpc
- rust-check
@ -210,7 +207,7 @@ jobs:
echo "${DOCKER_PASS}" | docker login -u="${DOCKER_USER}" --password-stdin
fi
- checkout
- setup-rust
- display-rust
- setup-python
- setup-gcp-grpc
- setup-mysql

View File

@ -365,7 +365,7 @@ pub async fn post_collection_batch(
if !coll.bsos.valid.is_empty() {
// Append the data to the requested batch.
let result = {
dbg!("Batch: Appending to {}", &new_batch.id);
trace!("Batch: Appending to {}", &new_batch.id);
db.append_to_batch(params::AppendToBatch {
user_id: coll.user_id.clone(),
collection: coll.collection.clone(),