Skip to content

Commit 4adad0f

Browse files
committed
Update traces_sample_rate spec to allow nil value
1 parent 0a1cbe3 commit 4adad0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sentry/config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ defmodule Sentry.Config do
622622
@spec sample_rate() :: float()
623623
def sample_rate, do: fetch!(:sample_rate)
624624

625-
@spec traces_sample_rate() :: float()
625+
@spec traces_sample_rate() :: nil | float()
626626
def traces_sample_rate, do: fetch!(:traces_sample_rate)
627627

628628
@spec hackney_opts() :: keyword()

0 commit comments

Comments
 (0)