File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 6
6
from metabrainz .payments import Currency , SUPPORTED_CURRENCIES
7
7
from metabrainz .payments .receipts import send_receipt
8
8
from metabrainz .admin import AdminModelView
9
- from sentry_sdk import capture_message
10
9
from sqlalchemy .sql import func , desc
11
10
from flask import current_app
12
11
from datetime import datetime
@@ -173,7 +172,7 @@ def process_paypal_ipn(cls, form):
173
172
if form ['payment_status' ] != 'Completed' :
174
173
# TODO(roman): Convert to regular `logging.info` call when such detailed logs
175
174
# are no longer necessary to capture.
176
- capture_message ("PayPal: Payment is not completed" , level = "info" , extra = { "ipn_content" : form } )
175
+ logging . info ("PayPal: Payment is not completed: %s" , form )
177
176
return
178
177
179
178
account_ids = current_app .config ['PAYPAL_ACCOUNT_IDS' ] # "currency => account" mapping
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ rauth==0.7.3
30
30
redis == 5.0.3
31
31
reportlab == 4.1.0
32
32
requests == 2.32.0
33
- sentry-sdk [flask ]== 1.43 .0
33
+ sentry-sdk [flask ]== 2.10 .0
34
34
six == 1.16.0
35
35
SQLAlchemy == 1.4.52
36
36
sqlalchemy-dst >= 1.0.1
You can’t perform that action at this time.
0 commit comments