balena-io / balena-cli

The official balena CLI tool.
Apache License 2.0
452 stars 138 forks source link

`balena device reboot` shows misleading error when device not online. #1872

Open srlowe opened 4 years ago

srlowe commented 4 years ago

If you try to reboot an offline device, you get: BalenaDeviceNotFound: Device not found: xxxxx which may be confusing.

This is currently not possible to fix as the errors from the SDK in cases where the device really does not exist, and when the device is offline are indistinguishable. There's an SDK issue open to address this: https://github.com/balena-io/balena-sdk/issues/649

srlowe commented 4 years ago

Relates to:#1388

srlowe commented 4 years ago

Looks like there is already an SDK issue open for this: https://github.com/balena-io/balena-sdk/issues/649