Remove error output truncation for better diagnostics

This commit is contained in:
Ryan Malloy 2026-02-05 09:57:13 -07:00
parent 78dc7e1279
commit 972f09b2d2
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ class ChipControl:
output = (stdout or b"").decode() + (stderr or b"").decode()
if proc.returncode != 0:
return {"success": False, "error": output.strip()[:200]}
return {"success": False, "error": output.strip()}
return {"success": True, "output": output}
except asyncio.TimeoutError:

View File

@ -60,7 +60,7 @@ class FlashManager:
output = (stdout or b"").decode() + (stderr or b"").decode()
if proc.returncode != 0:
return {"success": False, "error": output.strip()[:500]}
return {"success": False, "error": output.strip()}
return {"success": True, "output": output}