Page MenuHomePhabricator

Unify event logging error reporting to always report unlocalized codes
Closed, DeclinedPublic

Description

Currently, the iOS app sends localized error strings or unhelpful codes to event logging schemas. This ticket covers the work to audit error reporting in event logging and work with @chelsyx to report useful error codes. This description should be updated with specific changes after the audit.

Event Timeline

Thanks @JoeWalsh for creating this ticket!

Do you have a mapping between the unlocalized error code string and their actual meaning? For example, do we know what errors are we actually encountering when errorText = other in T214628#4973873? If there is no such a mapping/dictionary, then the unlocalized codes would not be very informative, i.e. I couldn't find those records which have a blocked error message by querying the errorText field because their errorText is just "other".

@chelsyx errorText = other in that case should be fixed by this as well. That's being passed back as a catch-all for pretty much any edit error and should be updated with something more descriptive - either the error code from the server or an app error domain and code, both of which would be possible to look up