Improve error reporting in dc-qcmd.