diffix / explorer

Tool to automatically explore and generate stats on data anonymized using Diffix
MIT License
2 stars 1 forks source link

Cancelation exceptions should be handled properly. #367

Closed sentry-io[bot] closed 4 years ago

sentry-io[bot] commented 4 years ago

It's ok that these exceptions are thrown, but logging them all to sentry is unnecessary.

Sentry Issue: EXPLORER-W7

System.Net.Sockets.SocketException: Operation canceled
System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
  Module "System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs", in ThrowException
  Module "System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs", in GetResult
  Module "System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1+ConfiguredValueTaskAwaiter", in GetResult
  Module "System.Net.Http.HttpConnection", in SendAsyncCore

System.Threading.Tasks.TaskCanceledException: The operation was canceled.
  File "/Users/sebastian/work-projects/explorer/src/aircloak/JsonApi/JsonApiClient.cs", line 351, in ApiRequest
  File "/Users/sebastian/work-projects/explorer/src/aircloak/JsonApi/JsonApiClient.cs", line 297, in ApiGetRequest
  File "/Users/sebastian/work-projects/explorer/src/aircloak/JsonApi/JsonApiClient.cs", line 181, in MoveNext
  File "/Users/sebastian/work-projects/explorer/src/aircloak/JsonApi/JsonApiClient.cs", line 210, in MoveNext
  File "/Users/sebastian/work-projects/explorer/src/aircloak/JsonApi/JsonApiClient.cs", line 96, in MoveNext
...
(92 additional frame(s) were not displayed)

Error in ColumnExploration for cloak_performance/users/nullable.