Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit b3ac8fe

Browse files
authored
Merge pull request #601 from wordpress-mobile/issues/log-site-address-on-errors
Log site address on errors. Bumps podspec version.
2 parents f62a3cc + 95c6536 commit b3ac8fe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

WordPressAuthenticator.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "WordPressAuthenticator"
3-
s.version = "1.38.0"
3+
s.version = "1.39.0-beta.1"
44

55
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
66
s.description = <<-DESC

WordPressAuthenticator/Unified Auth/View Related/Site Address/SiteAddressViewController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,9 @@ private extension SiteAddressViewController {
430430
guard let error = error, let self = self else {
431431
return
432432
}
433-
433+
// Intentionally log the attempted address on failures.
434+
// It's not guaranteed to be included in the error object depending on the error.
435+
DDLogInfo("Error attempting to connect to site address: \(self.loginFields.siteAddress)")
434436
DDLogError(error.localizedDescription)
435437
// TODO: - Tracks.
436438
// WordPressAuthenticator.track(.loginFailedToGuessXMLRPC, error: error)

0 commit comments

Comments
 (0)