From e5e4d55f84ef7caec126c5df442a7fdd85af9a1c 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 7d8ef6f38..793b44a75 100644 --- a/artiq/coredevice/comm_mgmt.py +++ b/artiq/coredevice/comm_mgmt.py @@ -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))