Files
browser-use__browser-use/browser_use/observability.py
Atharva Jaiswal 253b7f77ed Fix lmnr import crash when package raises TypeError (#4046)
When lmnr is installed but broken (e.g., on Python 3.13 with certain
package states), importing it raises TypeError instead of ImportError.
Since only ImportError was caught, the TypeError escaped and crashed
the entire application on startup.

Broaden the except clause to catch (ImportError, TypeError) so the
no-op fallback is used in both failure modes.
2026-02-15 17:54:45 +05:30

6.1 KiB