mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[growatt] improve logging (#17573)
Signed-off-by: AndrewFG <software@whitebear.ch> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
1cd2e310ca
commit
6a772a0bd3
@ -188,7 +188,7 @@ public class GrowattInverterHandler extends BaseThingHandler {
|
||||
getGrowattCloud().setupBatteryProgram(deviceId, programMode, powerLevel, stopSOC, enableAcCharging,
|
||||
startTime, stopTime, enableProgram);
|
||||
} catch (GrowattApiException e) {
|
||||
logger.warn("setupBatteryProgram() error", e);
|
||||
logger.warn("setupBatteryProgram() error '{}'", e.getMessage(), logger.isDebugEnabled() ? e : null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user