Skip to content

Commit 5539107

Browse files
committed
Replaced rethrowing with filtering for OperationCanceledException
1 parent 3171292 commit 5539107

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Explorer/Assets/DCL/UserInAppInitializationFlow/RealUserInAppInitializationFlow.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,7 @@ private async UniTask VerifyWorldAccessAndFallbackIfNeededAsync(CancellationToke
256256
{
257257
context = await worldPermissionsService.CheckWorldAccessAsync(worldName, ct);
258258
}
259-
catch (OperationCanceledException) { throw; }
260-
catch (Exception e)
259+
catch (Exception e) when (e is not OperationCanceledException)
261260
{
262261
ReportHub.LogWarning(ReportCategory.REALM,
263262
$"[StartUp] Failed to verify world access for '{worldName}' via world permissions: {e.Message}");

0 commit comments

Comments
 (0)