Skip to content

Commit 978a707

Browse files
committed
.
1 parent 3c9ed9b commit 978a707

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

MIGRATION_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
4646

4747
#### Integrations
4848

49-
- AWS Lambda: The message of the warning the SDK optionally emits if a Lambda function is about to time out has changed.
49+
- AWS Lambda, GCP: The message of the warning the SDK optionally emits if a function is about to time out has changed.
5050
- Redis: In Redis pipeline spans there is no `span["data"]["redis.commands"]` that contains a dict `{"count": 3, "first_ten": ["cmd1", "cmd2", ...]}` but instead `span["data"]["redis.commands.count"]` (containing `3`) and `span["data"]["redis.commands.first_ten"]` (containing `["cmd1", "cmd2", ...]`).
5151
- clickhouse-driver: The query is now available under the `db.query.text` span attribute (only if `send_default_pii` is `True`).
5252
- Logging: By default, the SDK won't capture Sentry issues anymore when calling `logging.error()`, `logging.critical()` or `logging.exception()`. If you want to preserve the old behavior use `sentry_sdk.init(integrations=[LoggingIntegration(event_level="ERROR")])`.

tests/integrations/gcp/test_gcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def cloud_function(functionhandler, event):
214214
assert exception["type"] == "ServerlessTimeoutWarning"
215215
assert (
216216
exception["value"]
217-
== "WARNING : Function is expected to get timed out. Configured timeout duration = 3 seconds."
217+
== "WARNING: Function is about to time out."
218218
)
219219
assert exception["mechanism"]["type"] == "threading"
220220
assert not exception["mechanism"]["handled"]

0 commit comments

Comments
 (0)