test client: log objects received via the "power changed" notification

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2020-11-19 08:42:55 -05:00
parent 8ead49504b
commit 675fe750f6
1 changed files with 2 additions and 1 deletions

View File

@ -732,7 +732,8 @@ function handle_klippy_ready() {
json_rpc.register_method("notify_klippy_ready", handle_klippy_ready);
function handle_power_changed(power_status) {
console.log(`Power Changed: ${power_status}`);
console.log(`Power Changed:`);
console.log(power_status)
}
json_rpc.register_method("notify_power_changed", handle_power_changed);