1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 13:40:06 +00:00

Use .error to log errors

This commit is contained in:
Anders Åberg
2025-02-27 20:24:51 +01:00
parent a54442f7d2
commit 316c7eb5d2

View File

@@ -140,7 +140,7 @@ class CredentialProviderViewController: ASCredentialProviderViewController {
}
func onError(error: BitwardenError) {
logger.log("[autofill-extension] OnError called, cancelling the request \(error)")
logger.error("[autofill-extension] OnError called, cancelling the request \(error)")
self.timeoutTimer.cancel()
ctx.cancelRequest(withError: error)
}
@@ -237,7 +237,7 @@ class CredentialProviderViewController: ASCredentialProviderViewController {
}
func onError(error: BitwardenError) {
logger.log("[autofill-extension] OnError called, cancelling the request \(error)")
logger.error("[autofill-extension] OnError called, cancelling the request \(error)")
self.timeoutTimer.cancel()
ctx.cancelRequest(withError: error)
}
@@ -302,7 +302,7 @@ class CredentialProviderViewController: ASCredentialProviderViewController {
}
func onError(error: BitwardenError) {
logger.log("[autofill-extension] OnError called, cancelling the request \(error)")
logger.error("[autofill-extension] OnError called, cancelling the request \(error)")
self.timeoutTimer.cancel()
ctx.cancelRequest(withError: error)
}