mgmt: fix config write error message

This commit is contained in:
Sebastien Bourdeauducq 2022-03-16 08:28:31 +08:00
parent 71e8b49246
commit e5e4d55f84
1 changed files with 1 additions and 1 deletions

View File

@ -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))