servod: provide a more informative error on usb disconnect
Currently servod will fail with regex-unmatched on a USB disconnect.
However, this makes it hard to distinguish from an ec/cr50 command
failure, or an ec3po hang. So we'll print a distinctive error in this case.
TEST=error when ccd is umplugged.
Signed-off-by: Nick Sanders <firstname.lastname@example.org>
Commit-Ready: ChromeOS CL Exonerator Bot <email@example.com>
Reviewed-by: Mary Ruthven <firstname.lastname@example.org>
2 files changed