-
Notifications
You must be signed in to change notification settings - Fork 507
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
Warn when transaction entered without calling start_transaction
#3003
Merged
szokeasaurusrex
merged 1 commit into
master
from
szokeasaurusrex/transaction-not-started-warning
Jun 6, 2024
Merged
Warn when transaction entered without calling start_transaction
#3003
szokeasaurusrex
merged 1 commit into
master
from
szokeasaurusrex/transaction-not-started-warning
Jun 6, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
antonpirker
approved these changes
Apr 23, 2024
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.
Looks good, just one question.
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transaction-not-started-warning
branch
from
April 23, 2024 09:17
00c2bc7
to
5cd3884
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transaction-sampled-debug-message
branch
from
April 25, 2024 12:58
a090a5c
to
f8586eb
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transaction-not-started-warning
branch
from
April 25, 2024 13:02
5cd3884
to
f1346b0
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transaction-sampled-debug-message
branch
from
April 25, 2024 13:11
f8586eb
to
d0fc544
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transaction-not-started-warning
branch
from
April 25, 2024 13:12
f1346b0
to
84ab96a
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transaction-sampled-debug-message
branch
from
April 25, 2024 13:26
d0fc544
to
534a301
Compare
Base automatically changed from
szokeasaurusrex/transaction-sampled-debug-message
to
master
April 25, 2024 13:40
antonpirker
requested changes
Apr 30, 2024
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transaction-not-started-warning
branch
from
May 28, 2024 15:44
84ab96a
to
314ef01
Compare
Made the requested change @antonpirker |
antonpirker
approved these changes
Jun 6, 2024
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.
Great, thanks for the change!
…ransaction` Users who enter a transaction without calling `start_transaction` likely intended to start the transaction, since without a call to `start_transaction`, their transaction will not get sent to Sentry. This warning message clarifies this behavior, and could help avoid the confusion that led to issue #2990. Also, add tests to ensure the message is logged.
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transaction-not-started-warning
branch
from
June 6, 2024 14:17
ea19248
to
3fd09e5
Compare
szokeasaurusrex
deleted the
szokeasaurusrex/transaction-not-started-warning
branch
June 6, 2024 14:24
arjennienhuis
pushed a commit
to arjennienhuis/sentry-python
that referenced
this pull request
Sep 30, 2024
Users who enter a transaction without calling `start_transaction` likely intended to start the transaction, since without a call to `start_transaction`, their transaction will not get sent to Sentry. This warning message clarifies this behavior, and could help avoid the confusion that led to issue getsentry#2990. Also, add tests to ensure the message is logged.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change should prevent confusion like what led to #2990 being opened.