Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sentry_sdk/profiler/continuous_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def start_profiler() -> None:

def start_profile_session() -> None:
warnings.warn(
"The `start_profile_session` function is deprecated. Please use `start_profile` instead.",
"The `start_profile_session` function is deprecated. Please use `start_profiler` instead.",
DeprecationWarning,
stacklevel=2,
)
Expand All @@ -171,7 +171,7 @@ def stop_profiler() -> None:

def stop_profile_session() -> None:
warnings.warn(
"The `stop_profile_session` function is deprecated. Please use `stop_profile` instead.",
"The `stop_profile_session` function is deprecated. Please use `stop_profiler` instead.",
DeprecationWarning,
stacklevel=2,
)
Expand Down