Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dbutil package from gocommon #395

Merged
merged 1 commit into from
Jan 7, 2022
Merged

Use dbutil package from gocommon #395

merged 1 commit into from
Jan 7, 2022

Conversation

rowanseymour
Copy link
Member

No description provided.

panic(err)
}
return bytes
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated - just noticed it isn't used


if qerr := dbutil.AsQueryError(err); qerr != nil {
query, params := qerr.Query()
log = log.WithFields(logrus.Fields{"sql": query, "sql_params": params})
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we get these values in sentry

@codecov
Copy link

codecov bot commented Jan 7, 2022

Codecov Report

Merging #395 (4ade345) into main (eb0c1fd) will increase coverage by 0.07%.
The diff coverage is 38.46%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #395      +/-   ##
==========================================
+ Coverage   71.63%   71.70%   +0.07%     
==========================================
  Files          95       95              
  Lines        8289     8257      -32     
==========================================
- Hits         5938     5921      -17     
+ Misses       1754     1747       -7     
+ Partials      597      589       -8     
Impacted Files Coverage Δ
utils/misc.go 78.94% <ø> (+1.89%) ⬆️
backends/rapidpro/backend.go 61.51% <20.00%> (+0.19%) ⬆️
batch/batch.go 86.56% <100.00%> (+10.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb0c1fd...4ade345. Read the comment docs.

@rowanseymour rowanseymour requested a review from norkans7 January 7, 2022 18:34
@rowanseymour rowanseymour merged commit 479d376 into main Jan 7, 2022
@rowanseymour rowanseymour deleted the dbutil branch January 7, 2022 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants