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
Conversation
Codecov Report
@@ 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
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -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") |
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
No description provided.