Skip to content

Commit ac49ee9

Browse files
committed
implement code review suggestions
1 parent 368e3a8 commit ac49ee9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/board/remote/adb/adb.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ func FromSerial(serial string, adbPath string) (*ADBConnection, error) {
6969

7070
output, err := cmd.RunAndCaptureCombinedOutput(context.TODO())
7171
if err != nil {
72+
slog.Error("unable to connect to ADB device", "error", err, "output", string(output), "serial", serial)
7273
if bytes.Contains(output, []byte("device offline")) {
7374
return false, ErrDeviceOffline
7475
} else if bytes.Contains(output, []byte("not found")) {

0 commit comments

Comments
 (0)