-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
TaskFailureLogger is used throughout the auth module to catch and log errors. There are certain common developer errors that we could catch and add context to.
For example if we see OPERATION_NOT_ALLOWED we could do the following:
- Figure out via
FlowParamswhich operation we were attempting - Log something like
You tried to sign in with {Foo} but have not enabled {Foo} in the Firebase console. Visit {url} to enable it. We could confidently do this at theLog.w()orLog.e()level since we know it's a user-visible failure.