Add debug output
This commit is contained in:
parent
8a69d6da77
commit
16e1232d77
|
@ -69,6 +69,9 @@ def fastboot_run(command: [str], serial: str = None) -> str:
|
||||||
else:
|
else:
|
||||||
stdout, stderr = proc.communicate()
|
stdout, stderr = proc.communicate()
|
||||||
proc.wait()
|
proc.wait()
|
||||||
|
logger.debug(f"fb-cmd: {cmd}")
|
||||||
|
logger.debug(f"fb-out: {stdout}")
|
||||||
|
logger.debug(f"fb-err: {stderr}")
|
||||||
return (stdout if stdout else stderr).decode()
|
return (stdout if stdout else stderr).decode()
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue