Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

hotfix

mertunsallce61e4e2f8e8
diff --git a/browser_use/filesystem/file_system.py b/browser_use/filesystem/file_system.py
index 464579f59..76d6eedbb 100644
--- a/browser_use/filesystem/file_system.py
+++ b/browser_use/filesystem/file_system.py
@@ -183,8 +183,7 @@ class FileSystem:
description += f'{end_preview}\n'
description += '</content>\n</file>\n'
- except Exception as e:
- raise e
+ except Exception:
description += f'<file>\n{f.name} - [error reading file]\n</file>\n\n'
return description.strip('\n')