Skip to content

[MS-596] Log verification issue#843

Merged
meladRaouf merged 1 commit into
release/2024.2.0from
MS-596-log-verification-issues
Jul 31, 2024
Merged

[MS-596] Log verification issue#843
meladRaouf merged 1 commit into
release/2024.2.0from
MS-596-log-verification-issues

Conversation

@meladRaouf
Copy link
Copy Markdown
Collaborator

When a subject is enrolled using one SDK and then verified with another SDK (by selecting a different age group), SID returns an unexpected error. In this PR, I'm logging this matching issue as a non-fatal error until we implement the proper behavior for migrating between SDKs.

@meladRaouf meladRaouf requested review from a team, BurningAXE, TristramN, alex-vt, alexandr-simprints, luhmirin-s and ybourgery and removed request for a team July 31, 2024 13:38
@cla-bot cla-bot Bot added the ... label Jul 31, 2024
@sonarqubecloud
Copy link
Copy Markdown

?: AppErrorResponse(AppErrorReason.UNEXPECTED_ERROR)
?: AppErrorResponse(AppErrorReason.UNEXPECTED_ERROR).also {
//if subject enrolled with an SDK and the user tries to verify with another SDK
Simber.tag(CrashReportTag.MATCHING.name).e("No match results found")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The message feels a bit too generic, maybe something like "No match results due to SDK mismatch"?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@luhmirin-s There are other scenarios where the matching result can be empty, such as a crash in one of the SDKs. This is why I chose a generic log message.

@meladRaouf meladRaouf merged commit e07c7b2 into release/2024.2.0 Jul 31, 2024
@meladRaouf meladRaouf deleted the MS-596-log-verification-issues branch July 31, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants