|
|
|
@ -530,8 +530,12 @@ public static partial class OpenIddictClientHandlers |
|
|
|
?? throw new InvalidOperationException(SR.GetResourceString(SR.ID0140)); |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception) && |
|
|
|
exception is not OperationCanceledException) |
|
|
|
catch (OperationCanceledException) when (context.CancellationToken.IsCancellationRequested) |
|
|
|
{ |
|
|
|
throw; |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception)) |
|
|
|
{ |
|
|
|
context.Logger.LogError(6219, exception, SR.GetResourceString(SR.ID6219)); |
|
|
|
|
|
|
|
@ -1149,8 +1153,12 @@ public static partial class OpenIddictClientHandlers |
|
|
|
?? throw new InvalidOperationException(SR.GetResourceString(SR.ID0140)); |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception) && |
|
|
|
exception is not OperationCanceledException) |
|
|
|
catch (OperationCanceledException) when (context.CancellationToken.IsCancellationRequested) |
|
|
|
{ |
|
|
|
throw; |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception)) |
|
|
|
{ |
|
|
|
context.Logger.LogError(6219, exception, SR.GetResourceString(SR.ID6219)); |
|
|
|
|
|
|
|
@ -5030,8 +5038,12 @@ public static partial class OpenIddictClientHandlers |
|
|
|
?? throw new InvalidOperationException(SR.GetResourceString(SR.ID0140)); |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception) && |
|
|
|
exception is not OperationCanceledException) |
|
|
|
catch (OperationCanceledException) when (context.CancellationToken.IsCancellationRequested) |
|
|
|
{ |
|
|
|
throw; |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception)) |
|
|
|
{ |
|
|
|
context.Logger.LogError(6219, exception, SR.GetResourceString(SR.ID6219)); |
|
|
|
|
|
|
|
@ -7443,8 +7455,12 @@ public static partial class OpenIddictClientHandlers |
|
|
|
?? throw new InvalidOperationException(SR.GetResourceString(SR.ID0140)); |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception) && |
|
|
|
exception is not OperationCanceledException) |
|
|
|
catch (OperationCanceledException) when (context.CancellationToken.IsCancellationRequested) |
|
|
|
{ |
|
|
|
throw; |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception)) |
|
|
|
{ |
|
|
|
context.Logger.LogError(6219, exception, SR.GetResourceString(SR.ID6219)); |
|
|
|
|
|
|
|
@ -8248,8 +8264,12 @@ public static partial class OpenIddictClientHandlers |
|
|
|
?? throw new InvalidOperationException(SR.GetResourceString(SR.ID0140)); |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception) && |
|
|
|
exception is not OperationCanceledException) |
|
|
|
catch (OperationCanceledException) when (context.CancellationToken.IsCancellationRequested) |
|
|
|
{ |
|
|
|
throw; |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception)) |
|
|
|
{ |
|
|
|
context.Logger.LogError(6219, exception, SR.GetResourceString(SR.ID6219)); |
|
|
|
|
|
|
|
@ -9031,8 +9051,12 @@ public static partial class OpenIddictClientHandlers |
|
|
|
?? throw new InvalidOperationException(SR.GetResourceString(SR.ID0140)); |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception) && |
|
|
|
exception is not OperationCanceledException) |
|
|
|
catch (OperationCanceledException) when (context.CancellationToken.IsCancellationRequested) |
|
|
|
{ |
|
|
|
throw; |
|
|
|
} |
|
|
|
|
|
|
|
catch (Exception exception) when (!OpenIddictHelpers.IsFatal(exception)) |
|
|
|
{ |
|
|
|
context.Logger.LogError(6219, exception, SR.GetResourceString(SR.ID6219)); |
|
|
|
|
|
|
|
|