MSP-8976 Up deps
This commit is contained in:
1 parent
ebc3c1dbc5
commit
0d9921bbce
603 files changed
+47715
-13202
No files matched your search
+2
-2
@@ -55,7 +55,7 @@ func NewMeter(ctx context.Context) Meter {
|
||||
hub = CurrentHub()
|
||||
}
|
||||
client := hub.Client()
|
||||
if client != nil {
|
||||
if client.IsEnabled() {
|
||||
// build default attrs
|
||||
serverAddr := client.options.ServerName
|
||||
if serverAddr == "" {
|
||||
@@ -110,7 +110,7 @@ func (m *sentryMeter) emit(ctx context.Context, metricType MetricType, name stri
|
||||
}
|
||||
|
||||
client := hub.Client()
|
||||
if client == nil {
|
||||
if !client.IsEnabled() {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user