diff --git a/Sources/Catchable.swift b/Sources/Catchable.swift index 6cf83e995..84c322f4d 100644 --- a/Sources/Catchable.swift +++ b/Sources/Catchable.swift @@ -155,7 +155,7 @@ public extension CatchMixin { */ func cauterize() { self.catch { - print("PromiseKit:cauterized-error:", $0) + Swift.print("PromiseKit:cauterized-error:", $0) } } } diff --git a/Sources/Promise.swift b/Sources/Promise.swift index 74e111ed4..32973bb59 100644 --- a/Sources/Promise.swift +++ b/Sources/Promise.swift @@ -116,7 +116,7 @@ public extension Promise { public func wait() throws -> T { if Thread.isMainThread { - print("PromiseKit: warning: `wait()` called on main thread!") + Swift.print("PromiseKit: warning: `wait()` called on main thread!") } var result = self.result