Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Update doc to explain the exception name based on the language used

Alessio Fanelli9fc9d26752a1
diff --git a/apps/web/src/app/(docs)/docs/guide/beta-migration/page.mdx b/apps/web/src/app/(docs)/docs/guide/beta-migration/page.mdx
index 240dc1451..c5f71b909 100644
--- a/apps/web/src/app/(docs)/docs/guide/beta-migration/page.mdx
+++ b/apps/web/src/app/(docs)/docs/guide/beta-migration/page.mdx
@@ -226,7 +226,7 @@ You execute processes by calling `.commands.run()` method. By default, the metho
You can specify the timeout for the command execution by passing `timeoutMs`/`timeout` option. The default timeout is 60 seconds.
-If the command fails with a non-zero exit a `ProcessExitError`/`ProcessExitException` is raised and you can catch and inspect the error for more info.
+If the command fails with a non-zero exit it will raise `ProcessExitError` in Javascript, or `ProcessExitException` in Python, and you can catch and inspect the error for more info.
<CodeGroup isRunnable={false}>
```js