ref: improve error handling

This commit is contained in:
leukipp
2025-09-21 22:47:02 +02:00
parent 10e7ff078a
commit ac69dee387
2 changed files with 11 additions and 15 deletions
+2 -2
View File
@@ -432,7 +432,7 @@ const initDisplay = () => {
if (!error) {
hardware.update();
} else {
console.warn("Failed:", error);
console.warn("Command Failed:", error);
}
});
} else if (topic === config.brightness_command_topic) {
@@ -442,7 +442,7 @@ const initDisplay = () => {
if (!error) {
hardware.update();
} else {
console.warn("Failed:", error);
console.warn("Command Failed:", error);
}
});
}