Browse Source

Add more debug info to streaming errors

Petteri Aimonen 3 năm trước cách đây
mục cha
commit
60337eab4e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
     }