Add debug output

This commit is contained in:
timoxa0 2024-05-10 13:28:30 +05:00
parent 8a69d6da77
commit 16e1232d77

View file

@ -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()