Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Change print to logger

Jakub Novak7364b824e030
diff --git a/packages/python-sdk/e2b/sandbox/sandbox_connection.py b/packages/python-sdk/e2b/sandbox/sandbox_connection.py
index 81a221bdf..5218104c1 100644
--- a/packages/python-sdk/e2b/sandbox/sandbox_connection.py
+++ b/packages/python-sdk/e2b/sandbox/sandbox_connection.py
@@ -301,7 +301,7 @@ class SandboxConnection:
try:
self._connect_rpc(timeout)
except Exception as e:
- print(e)
+ logger.error(e)
self._close()
raise e