Skip to content

Commit 9f08fc7

Browse files
committed
Improve error logging for unknown devices during power level auto-configuration
1 parent 472c7fc commit 9f08fc7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

content/wardrive.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4578,8 +4578,9 @@ async function autoSetPowerLevel() {
45784578
}
45794579

45804580
} else {
4581-
// Unknown device - log info and require manual selection
4581+
// Unknown device - log to error log and require manual selection
45824582
debugLog(`[DEVICE MODEL] Unknown device: ${state.deviceModel}`);
4583+
addErrorLogEntry(`Unknown device: ${state.deviceModel}`, "DEVICE MODEL");
45834584
state.autoPowerSet = false;
45844585

45854586
// Hide auto-configured power display and placeholder, show manual selection

0 commit comments

Comments
 (0)