Skip to content

Commit 6a56952

Browse files
committed
Change Lambda timeout warning message
1 parent c27ac1f commit 6a56952

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sentry_sdk/utils.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,11 +1424,7 @@ def run(self) -> None:
14241424
integer_configured_timeout = integer_configured_timeout + 1
14251425

14261426
# Raising Exception after timeout duration is reached
1427-
raise ServerlessTimeoutWarning(
1428-
"WARNING : Function is expected to get timed out. Configured timeout duration = {} seconds.".format(
1429-
integer_configured_timeout
1430-
)
1431-
)
1427+
raise ServerlessTimeoutWarning("WARNING: Function is about to time out.")
14321428

14331429

14341430
def to_base64(original: str) -> Optional[str]:

0 commit comments

Comments
 (0)