mirror of
https://github.com/browser-use/browser-use.git
synced 2026-09-14 19:59:47 +08:00
253b7f77ed
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.
6.1 KiB
6.1 KiB