Skip to content

Commit d9137aa

Browse files
committed
Add debug
1 parent 8369ff9 commit d9137aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/apify/_configuration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import annotations
22

3+
import traceback
34
from datetime import datetime, timedelta
45
from decimal import Decimal
56
from logging import getLogger
@@ -417,6 +418,7 @@ def disable_browser_sandbox_on_platform(self) -> Self:
417418
"""
418419
if self.is_at_home and not self.disable_browser_sandbox:
419420
self.disable_browser_sandbox = True
421+
logger.info('Stack trace:\n%s', ''.join(traceback.format_stack()))
420422
logger.warning('Actor is running on the Apify platform, `disable_browser_sandbox` was changed to True.')
421423
return self
422424

0 commit comments

Comments
 (0)