Files
odoo_source/addons/hw_drivers
Raf Geens 43d7c0d6d3 [FIX] hw_drivers: Don't terminate Manager thread on exception
If you unplug the iot box and wait 15 seconds or so, and then plug it
back in, it's possible to get an exception from helpers.get_ip, because
neither the wired nor the wireless interface has an IP. In that case,
the exception would kill the Manager thread, since it was uncaught.

This fix adds a catch-all to the Manager thread that logs any uncaught
exceptions and continues its main loop.

closes odoo/odoo#77111

X-original-commit: a9808a4efe46c4ba7948f5d6a8757546c6b4147b
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Signed-off-by: Raf Geens <raf-odoo@users.noreply.github.com>
2021-09-24 11:09:04 +00:00
..
…
…