Skip to content

Commit 6371d0c

Browse files
authored
fix: remove 'Paused' from sandbox not found error in set_timeout (#1174)
1 parent bcc6ea8 commit 6371d0c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@e2b/python-sdk": patch
3+
---
4+
5+
Fix sandbox not found error message in set_timeout

packages/python-sdk/e2b/sandbox_async/sandbox_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ async def _cls_set_timeout(
146146
)
147147

148148
if res.status_code == 404:
149-
raise NotFoundException(f"Paused sandbox {sandbox_id} not found")
149+
raise NotFoundException(f"Sandbox {sandbox_id} not found")
150150

151151
if res.status_code >= 300:
152152
raise handle_api_exception(res)

0 commit comments

Comments
 (0)