You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In Web Api OperationCanceledException usually throws when request was cancelled by user.
Most of apps don't want to have such errors in logs, metricts and etc.
It's hard to identify OperationCanceledException when it throws from CsvHelper.WriteRecordsAsync because we have to check inner exception.
May it be changed? May OperationCanceledException be just re-throwed instead of wrapping it in WriterException?
Expected behavior
throw OperationCanceledException as is.
The text was updated successfully, but these errors were encountered:
Describe the bug
In Web Api OperationCanceledException usually throws when request was cancelled by user.
Most of apps don't want to have such errors in logs, metricts and etc.
It's hard to identify
OperationCanceledException
when it throws fromCsvHelper.WriteRecordsAsync
because we have to check inner exception.May it be changed? May
OperationCanceledException
be just re-throwed instead of wrapping it inWriterException
?Expected behavior
throw OperationCanceledException as is.
The text was updated successfully, but these errors were encountered: