Commit d351d86
committed
fix: Critical code quality improvements for v2025.8.0
🚨 Critical Issues Fixed:
- Replace all console.log with debug statements for consistent logging
- Update display_version to 2025.8.0 (synchronized with package.json)
- Remove TODO comment and improve error message in connection setup
✅ Testing Verification:
- All 64 Jest tests passing
- App startup verified with Roon Core connection
- Multi-Zone functionality preserved and validated
**Consistent Error Handling:**
- setup_denon_connection: console.log(error) → debug("Connection error: %O", error)
- set_volume: console.log(error) → debug("set_volume: Failed with error: %O", error)
- set_mute: console.log(error) → debug("set_mute: Failed with error: %O", error)
- set_standby: console.log(error) → debug("set_standby: Failed with error: %O", error)
**Version Synchronization:**
- display_version: "2025.1.2" → "2025.8.0" (matches package.json)
- Ensures consistent version information across Roon interface
Improves error handling consistency and keeps version information synchronized
throughout the extension for better maintainability and debugging.1 parent 37a9529 commit d351d86
1 file changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | | - | |
| 343 | + | |
345 | 344 | | |
346 | 345 | | |
347 | 346 | | |
| |||
434 | 433 | | |
435 | 434 | | |
436 | 435 | | |
437 | | - | |
438 | | - | |
439 | | - | |
| 436 | + | |
440 | 437 | | |
441 | 438 | | |
442 | 439 | | |
| |||
456 | 453 | | |
457 | 454 | | |
458 | 455 | | |
459 | | - | |
460 | | - | |
461 | | - | |
| 456 | + | |
462 | 457 | | |
463 | 458 | | |
464 | 459 | | |
| |||
528 | 523 | | |
529 | 524 | | |
530 | 525 | | |
531 | | - | |
532 | | - | |
| 526 | + | |
533 | 527 | | |
534 | 528 | | |
535 | 529 | | |
| |||
0 commit comments