Improve error reporting in dc_queuecmd.