Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a nonfatal error; delete another nonfatal error #1940

Merged

Conversation

amy-at-kickstarter
Copy link
Contributor

📲 What

  1. Stop logging remote configuration errors to Crashlytics when a user boots the app with no connectivity.
  2. Log when OAuth setup fails.

🤔 Why

This is to take better advantage of our non-fatal error logging in Crashlytics. Removing a noisy error, adding one I care about.


Crashlytics.crashlytics().record(error: remoteConfigActivationError)
if errorAsNSError.domain == RemoteConfigErrorDomain,
errorAsNSError.code == RemoteConfigError.internalError.rawValue {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dug a bit into the Firebase code - this is the correct domain and error for what they're sending us (error 8003). The naming is a bit confusing, so it's possible we'll accidentally catch an error we may have been interested in.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @ifosli since you disliked this error!

@amy-at-kickstarter amy-at-kickstarter force-pushed the feat/adyer/nonfatal-logging-add-one-delete-one branch from 477afad to 00d7023 Compare February 13, 2024 17:08
@amy-at-kickstarter amy-at-kickstarter merged commit d324658 into main Feb 13, 2024
5 checks passed
@amy-at-kickstarter amy-at-kickstarter deleted the feat/adyer/nonfatal-logging-add-one-delete-one branch February 13, 2024 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants