File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Hardware/Hardware/CardReader/StripeCardReader Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -408,12 +408,12 @@ private extension StripeCardReaderService {
408408 /// https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPTerminal.html#/c:objc(cs)SCPTerminal(im)collectPaymentMethod:delegate:completion:
409409
410410 if underlyingError != . commandCancelled {
411- print ( " ==== collect payment method was not cancelled. this is an actual error " , underlyingError)
411+ DDLogError ( " 💳 Error: collect payment method \( underlyingError) " )
412412 promise ( . failure( CardReaderServiceError . paymentMethodCollection ( underlyingError: underlyingError) ) )
413413 }
414414
415415 if underlyingError == . commandCancelled {
416- print ( " ==== collect payment method cancelled. this is an error we ignore " , error)
416+ DDLogError ( " 💳 Warning: collect payment error cancelled. We actively ignore this error \( error ) " )
417417 }
418418
419419 }
@@ -488,12 +488,10 @@ extension StripeCardReaderService: BluetoothReaderDelegate {
488488 }
489489
490490 public func reader( _ reader: Reader , didStartInstallingUpdate update: ReaderSoftwareUpdate , cancelable: StripeTerminal . Cancelable ? ) {
491- print ( " ==== started software update " )
492491 softwareUpdateSubject. send ( . started( cancelable: cancelable. map ( StripeCancelable . init ( cancelable: ) ) ) )
493492 }
494493
495494 public func reader( _ reader: Reader , didReportReaderSoftwareUpdateProgress progress: Float ) {
496- print ( " ==== did repost software update progress " , progress)
497495 softwareUpdateSubject. send ( . installing( progress: progress) )
498496 }
499497
You can’t perform that action at this time.
0 commit comments