SahilPatidar d733c8e5c5
[Orc] Fix error handling in ORCPlatformSupport::initialize (#144637)
Previously, `result` was checked before handling the `Error` returned by
`callSPSWrapper`. If `Error` was `success` but `result` indicated
failure, the original `Error` was silently dropped, triggering an
assertion failure for unhandled `Error`.

This patch ensures the `Error` is checked and returned before inspecting
`result`, preventing assertion failures.

Co-authored-by: Anutosh Bhat <andersonbhat491@gmail.com>
2025-07-07 11:38:14 +05:30
..