mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
refactor: replace hardcoded log messages with constants for better maintainability
This commit is contained in:
@@ -206,6 +206,6 @@ func SendGA4Event(name string, params map[string]interface{}) {
|
||||
}
|
||||
err := ga4Client.SendEvent(event)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("send GA4 event failed")
|
||||
log.Warn().Err(err).Msg("send GA4 event failed")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user