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

feat(logging) Rename logger functions from <Level>b to <Level> #819

Merged
merged 2 commits into from Jan 26, 2023

Conversation

Tetrergeru
Copy link
Member

No description provided.

@Tetrergeru Tetrergeru requested a review from a team as a code owner January 16, 2023 07:18
@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2023

Codecov Report

Merging #819 (4e5e2ab) into master (f66d098) will decrease coverage by 0.95%.
The diff coverage is 45.76%.

@@            Coverage Diff             @@
##           master     #819      +/-   ##
==========================================
- Coverage   71.27%   70.32%   -0.95%     
==========================================
  Files         179      179              
  Lines        9350     9695     +345     
==========================================
+ Hits         6664     6818     +154     
- Misses       2303     2494     +191     
  Partials      383      383              
Impacted Files Coverage Δ
api/controller/pattern.go 65.11% <0.00%> (-10.56%) ⬇️
api/controller/tag.go 83.33% <0.00%> (-5.96%) ⬇️
api/handler/trigger.go 9.09% <0.00%> (-0.19%) ⬇️
api/handler/triggers.go 20.80% <0.00%> (-0.52%) ⬇️
checker/trigger_checker.go 83.01% <0.00%> (-3.26%) ⬇️
cmd/cli/extra.go 0.00% <0.00%> (ø)
cmd/cli/from_2.3_to_2.4.go 0.00% <0.00%> (ø)
cmd/cli/from_2.6_to_2.7.go 0.00% <0.00%> (ø)
cmd/cli/main.go 0.00% <0.00%> (ø)
cmd/cli/triggers.go 0.00% <0.00%> (ø)
... and 51 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

kissken
kissken previously approved these changes Jan 16, 2023
@kissken kissken requested a review from a team January 16, 2023 11:52
Dimedrolity
Dimedrolity previously approved these changes Jan 17, 2023
senders/twilio/voice.go Outdated Show resolved Hide resolved
@@ -20,7 +20,7 @@ func GetNotifier(logger moira.Logger, database moira.Database) Heartbeater {

func (check notifier) Check(int64) (int64, bool, error) {
if state, _ := check.db.GetNotifierState(); state != moira.SelfStateOK {
check.log.Errorb().
check.log.Error().
String("error", check.GetErrorMessage()).
Msg("Send message")
Copy link
Member

Choose a reason for hiding this comment

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

hmm, seems, here should be NOT send, see first issue in new sentry :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@Tetrergeru Tetrergeru merged commit dd47f24 into master Jan 26, 2023
@Tetrergeru Tetrergeru deleted the feature/rename-logger-methods branch January 26, 2023 08:56
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.

None yet

4 participants