Categorize LegacyArchitectureLogger soft errors as SOFT_ASSERTIONS (#50714)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50714

This diff changes the category used by LegacyArchitectureLogger soft errors to be SOFT_ASSERTIONS

changelog: [internal] internal

Reviewed By: makovkastar

Differential Revision: D72999455

fbshipit-source-id: b5378fb92b22a3d06dda550192c7eba0db97ddcb
This commit is contained in:
David Vacca authored and Facebook GitHub Bot committed 2025-04-14 20:56:07 -07:00
1 parent a7e7651586
commit e1f562fc2b
1 file changed
+2 -1
@@ -89,7 +89,8 @@ public object LegacyArchitectureLogger {
}
LegacyArchitectureLogLevel.WARNING -> {
ReactSoftExceptionLogger.logSoftException(
tag, ReactNoCrashSoftException("$name $exceptionMessage"))
ReactSoftExceptionLogger.Categories.SOFT_ASSERTIONS,
ReactNoCrashSoftException("$name $exceptionMessage"))
}
}
}