mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
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)
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user