Skip to content

Commit

Permalink
The module module should not use print or other logging statements, s…
Browse files Browse the repository at this point in the history
…uch as in: (#15)

Co-authored-by: Alexandr Chernyy <pingus.nikalex@gmail.com>
  • Loading branch information
alexchornyi and pingus-nikalex authored Jun 30, 2021
1 parent c8a2ea2 commit 90b3b2d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sources/CertLogic/CertLogic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ final public class CertLogicEngine {
result.append(ValidationResult(rule: rule, result: .fail, validationErrors: nil))
}
}
print("result: \(result)")
} catch {
print("Unexpected error: \(error)")
result.append(ValidationResult(rule: rule, result: .fail, validationErrors: [error]))
}
}
Expand Down

0 comments on commit 90b3b2d

Please sign in to comment.