File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ private ITransport CreateTransport()
2323 _options . LogDebug ( "Creating transport." ) ;
2424
2525 // Start from either the transport given on options, or create a new HTTP transport.
26- var transport = _options . Transport ?? CreateHttpTransport ( ) ;
26+ var transport = _options . Transport ?? new LazyHttpTransport ( _options ) ;
2727
2828 // When a cache directory path is given, wrap the transport in a caching transport.
2929 if ( ! string . IsNullOrWhiteSpace ( _options . CacheDirectoryPath ) )
@@ -75,11 +75,6 @@ You can set a different environment via SENTRY_ENVIRONMENT env var or programati
7575 return transport ;
7676 }
7777
78- private LazyHttpTransport CreateHttpTransport ( )
79- {
80- return new LazyHttpTransport ( _options ) ;
81- }
82-
8378 public IBackgroundWorker CreateBackgroundWorker ( )
8479 {
8580 if ( _options . BackgroundWorker is { } worker )
You can’t perform that action at this time.
0 commit comments