File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 2.1.0] - 2023-08-02
11+
12+ ### Added
13+
14+ - Added debug output for connect command.
15+
1016## [ 2.0.1] - 2023-08-02
1117
1218### Fixed
Original file line number Diff line number Diff line change @@ -444,10 +444,11 @@ private void InitAuthenticationClass()
444444 {
445445 if ( AcquireToken . IsPresent )
446446 {
447- WriteVerbose ( "Token was acquired. Use token-based authentication." ) ;
447+ WriteVerbose ( "Token will be acquired. Use token-based authentication." ) ;
448448 _authenticationClass = AuthenticationClass . TokenAuthentication ;
449449
450450 AccessToken = new AzureServiceTokenProvider ( ) . GetAccessTokenAsync ( resource : Resource ) . Result ;
451+ WriteDebug ( $ "AccessToken:${ AccessToken } ") ;
451452 }
452453 else if ( ! string . IsNullOrWhiteSpace ( AccessToken ) )
453454 {
@@ -532,6 +533,7 @@ private void OpenConnection(SqlConnection connection)
532533 var connectStopwatch = Stopwatch . StartNew ( ) ;
533534 try
534535 {
536+ WriteDebug ( $ "Open connection with connection string: ${ ConnectionString } ") ;
535537 connection . Open ( ) ;
536538 }
537539 catch ( SqlException ex )
You can’t perform that action at this time.
0 commit comments