Commit 6ba219ef authored by Philip Brechler's avatar Philip Brechler

Improved logging of card10 error messages

parent c5675787
......@@ -106,7 +106,7 @@ class DataTransferManager: NSObject {
break
case .ERROR?:
// fucked up, send error ack
print("Error from card10, message ",package)
print("Error from card10, message ",String(data:package,encoding: .ascii)!)
self.sendPackage(type: .ERROR_ACK, payload: nil, offset: 0)
delegate?.didFailToSendFile()
break
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment