nerves-hub / nerves_hub_link

Connect devices to NervesHub via a Phoenix channel
https://hex.pm/packages/nerves_hub_link
Apache License 2.0
36 stars 18 forks source link

Fix console window resize error message #49

Closed ConnorRigby closed 3 years ago

ConnorRigby commented 3 years ago

fixes this annoying log message:

20:30:36.704 [warn]  Firmware stream error: "Unhandled Console handle_info - %PhoenixClient.Message{channel_pid: #PID<0.2554.0>, event: \"window_size\", join_ref: nil, payload: %{\"height\" => 62, \"width\" => 164}, ref: nil, topic: \"console\"}"
20:30:37.070 [warn]  Firmware stream error: "Unhandled Console handle_info - %PhoenixClient.Message{channel_pid: #PID<0.2554.0>, event: \"window_size\", join_ref: nil, payload: %{\"height\" => 59, \"width\" => 152}, ref: nil, topic: \"console\"}"
20:30:37.074 [warn]  Firmware stream error: "Unhandled Console handle_info - %PhoenixClient.Message{channel_pid: #PID<0.2554.0>, event: \"window_size\", join_ref: nil, payload: %{\"height\" => 56, \"width\" => 143}, ref: nil, topic: \"console\"}"
20:30:37.207 [warn]  Firmware stream error: "Unhandled Console handle_info - %PhoenixClient.Message{channel_pid: #PID<0.2554.0>, event: \"window_size\", join_ref: nil, payload: %{\"height\" => 52, \"width\" => 130}, ref: nil, topic: \"console\"}"
20:30:37.213 [warn]  Firmware stream error: "Unhandled Console handle_info - %PhoenixClient.Message{channel_pid: #PID<0.2554.0>, event: \"window_size\", join_ref: nil, payload: %{\"height\" => 50, \"width\" => 125}, ref: nil, topic: \"console\"}"
20:30:37.221 [warn]  Firmware stream error: "Unhandled Console handle_info - %PhoenixClient.Message{channel_pid: #PID<0.2554.0>, event: \"window_size\", join_ref: nil, payload: %{\"height\" => 50, \"width\" => 125}, ref: nil, topic: \"console\"}"
20:30:37.620 [warn]  Firmware stream error: "Unhandled Console handle_info - %PhoenixClient.Message{channel_pid: #PID<0.2554.0>, event: \"window_size\", join_ref: nil, payload: %{\"height\" => 49, \"width\" => 125}, ref: nil, topic: \"console\"}"
fhunleth commented 3 years ago

@ConnorRigby - Looks like this is already a PR: #48.

fhunleth commented 3 years ago

Closing since fixed in #48