浏览代码

Add more debug info to streaming errors

Petteri Aimonen 3 年之前
父节点
当前提交
60337eab4e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/AzulSCSI.cpp

+ 1 - 1
src/AzulSCSI.cpp

@@ -463,7 +463,7 @@ void writeDataPhase_FromSD(uint32_t adds, uint32_t len)
     }
     else if (status != transfer_len)
     {
-      azlog("Streaming failed halfway, data may be corrupt, aborting!");
+      azlog("Streaming failed halfway: ", (int)status, "/", (int)transfer_len, " bytes, data may be corrupt, aborting!");
       g_scsi_sts |= 2;
       return;
     }