Add full traceback to Bluetooth scan error logging

This commit is contained in:
Smittix
2026-01-21 23:38:21 +00:00
parent eb5bf55aad
commit bc2b2bf23b

View File

@@ -1300,7 +1300,8 @@ def _run_sweep(
})
last_bt_scan = current_time
except Exception as e:
logger.error(f"Bluetooth scan error: {e}")
import traceback
logger.error(f"Bluetooth scan error: {e}\n{traceback.format_exc()}")
# Perform RF scan using SDR
if rf_enabled and (current_time - last_rf_scan) >= rf_scan_interval: