Make error verbose

This commit is contained in:
Ryan Saridar authored and GitHub committed 2021-03-31 02:45:37 +01:00
1 parent 2f0b944554
commit b2f535f788
1 file changed
+1 -1
+1 -1
View File
@@ -194,7 +194,7 @@ int MifareAuth4(mf4Session_t *mf4session, uint8_t *keyn, uint8_t *key, bool acti
}
if (data[0] != 0x90) {
if (!silentMode) PrintAndLogEx(ERR, "Card response error: %02x", data[0]);
if (!silentMode) PrintAndLogEx(ERR, "Card response error: %02x %s", data[0], mfpGetErrorDescription(data[0]));
if (dropFieldIfError) DropField();
return 3;
}