forked from M-Labs/artiq
1
0
Fork 0

mgmt: fix config write error message

This commit is contained in:
Sebastien Bourdeauducq 2022-03-16 08:28:31 +08:00
parent 2e65574c5f
commit 58f69cc96e
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class CommMgmt:
self._write_bytes(value)
ty = self._read_header()
if ty == Reply.Error:
raise IOError("Flash storage is full")
raise IOError("Device failed to write config. More information may be available in the log.")
elif ty != Reply.Success:
raise IOError("Incorrect reply from device: {} (expected {})".
format(ty, Reply.Success))