Closed jaclync closed 10 months ago
Recently, we noticed a Tracks event wasn't actually tracked due to a validation error that wasn't logged anywhere in the console p1693362956666449/1692625489.705669-slack-C039133E1M3.
https://github.com/Automattic/Automattic-Tracks-iOS/blob/aad902bf945e7528a00ba5b9c5640974d58ff2fd/Sources/Event%20Logging/TracksEventService.m#L59-L61
Upon inspection, TracksLoggingClass() is nil:
TracksLoggingClass()
nil
https://github.com/Automattic/Automattic-Tracks-iOS/blob/aad902bf945e7528a00ba5b9c5640974d58ff2fd/Sources/Model/ObjC/Common/TracksLogging.m#L6-L18
It'd be great to fix this so that we can detect any validation errors during development.
Recently, we noticed a Tracks event wasn't actually tracked due to a validation error that wasn't logged anywhere in the console p1693362956666449/1692625489.705669-slack-C039133E1M3.
https://github.com/Automattic/Automattic-Tracks-iOS/blob/aad902bf945e7528a00ba5b9c5640974d58ff2fd/Sources/Event%20Logging/TracksEventService.m#L59-L61
Upon inspection,
TracksLoggingClass()
isnil
:https://github.com/Automattic/Automattic-Tracks-iOS/blob/aad902bf945e7528a00ba5b9c5640974d58ff2fd/Sources/Model/ObjC/Common/TracksLogging.m#L6-L18
It'd be great to fix this so that we can detect any validation errors during development.