From 58f69cc96ef3441a70193852ce437cd4cebe254c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 16 Mar 2022 08:28:31 +0800 Subject: [PATCH] mgmt: fix config write error message --- artiq/coredevice/comm_mgmt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/comm_mgmt.py b/artiq/coredevice/comm_mgmt.py index 79fde1a81..c9fbb0d59 100644 --- a/artiq/coredevice/comm_mgmt.py +++ b/artiq/coredevice/comm_mgmt.py @@ -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))