mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-31 04:40:20 +08:00
mgmt: fix config write error message
This commit is contained in:
parent
2e65574c5f
commit
58f69cc96e
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user