Skip to content

Commit ba01f62

Browse files
committed
fix: Fix default of attach stacktrace
Also add a note to a test that started failing because of this.
1 parent e0c075a commit ba01f62

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"before_send": None,
2727
"before_breadcrumb": None,
2828
"debug": False,
29-
"attach_stacktrace": True,
29+
"attach_stacktrace": False,
3030
}
3131

3232

tests/integrations/aws_lambda/test_aws.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ def capture_event(self, event):
2929
3030
def shutdown(self, timeout, callback=None):
3131
# Delay event output like this to test proper shutdown
32+
# Note that AWS Lambda trunchates the log output to 4kb, so you better
33+
# pray that your events are smaller than that or else tests start
34+
# failing.
3235
for event in self._queue:
3336
print("EVENT:", json.dumps(event))
3437

0 commit comments

Comments
 (0)