@@ -41,7 +41,7 @@ public static void Configure(SentryUnityOptions options)
4141
4242 options . CrashedLastRun = ( ) => false ; // no way to recognize crashes in WebGL yet
4343
44- // Still cant' find out what's using Threads so:
44+ // Still can't find out what's using Threads so:
4545 options . AutoSessionTracking = false ;
4646 options . DetectStartupTime = StartupTimeDetectionMode . None ;
4747 options . DisableTaskUnobservedTaskExceptionCapture ( ) ;
@@ -69,7 +69,7 @@ public bool EnqueueEnvelope(Envelope envelope)
6969 return true ;
7070 }
7171
72- public Task FlushAsync ( TimeSpan timeout ) => Task . CompletedTask ; // TODO maybe we can implement this somehow?
72+ public Task FlushAsync ( TimeSpan timeout ) => Task . CompletedTask ;
7373
7474 public int QueuedItems { get ; }
7575 }
@@ -146,9 +146,6 @@ private void HandleFailure(HttpResponseMessage response, Envelope processedEnvel
146146 processedEnvelope . TryGetEventId ( ) , Encoding . UTF8 . GetString ( www . uploadHandler . data ) ) ;
147147 }
148148 }
149-
150- // SDK is in debug mode, and envelope was too large. To help troubleshoot:
151- // NOTE: likely no point to do this on WebGL - who would check the file (in IndexDB)?
152149 }
153150
154151 private UnityWebRequest CreateWebRequest ( HttpRequestMessage message )
@@ -198,7 +195,7 @@ internal class UnityWebRequestMessageHandler : HttpMessageHandler
198195 {
199196 protected override Task < HttpResponseMessage > SendAsync ( HttpRequestMessage _ , CancellationToken __ )
200197 {
201- // if this throws, see usages of HttpTransport._httpClient
198+ // if this throws, see usages of HttpTransport._httpClient - all should be overridden by UnityWebRequestTransport
202199 throw new InvalidOperationException ( "UnityWebRequestMessageHandler must be unused" ) ;
203200 }
204201 }
0 commit comments