From 675fe750f623970b715cfa9fbe5ea2582faad05b Mon Sep 17 00:00:00 2001 From: Arksine Date: Thu, 19 Nov 2020 08:42:55 -0500 Subject: [PATCH] test client: log objects received via the "power changed" notification Signed-off-by: Eric Callahan --- test/client/js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/client/js/main.js b/test/client/js/main.js index 6f7894f..32ea090 100644 --- a/test/client/js/main.js +++ b/test/client/js/main.js @@ -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);