forked from M-Labs/artiq
mgmt: fix config write error message
This commit is contained in:
parent
71e8b49246
commit
e5e4d55f84
|
@ -169,7 +169,7 @@ class CommMgmt:
|
||||||
self._write_bytes(value)
|
self._write_bytes(value)
|
||||||
ty = self._read_header()
|
ty = self._read_header()
|
||||||
if ty == Reply.Error:
|
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:
|
elif ty != Reply.Success:
|
||||||
raise IOError("Incorrect reply from device: {} (expected {})".
|
raise IOError("Incorrect reply from device: {} (expected {})".
|
||||||
format(ty, Reply.Success))
|
format(ty, Reply.Success))
|
||||||
|
|
Loading…
Reference in New Issue