Skip to content

Commit 28f2917

Browse files
committed
added log in ServicePrincipalLogin
1 parent 7c94732 commit 28f2917

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

lib/PowerShell/ServicePrincipalLogin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class ServicePrincipalLogin {
6363
if (!(Constants_1.default.Success in result)) {
6464
throw new Error(`Azure PowerShell login failed with error: ${result[Constants_1.default.Error]}`);
6565
}
66+
console.log(`Azure PowerShell session successfully initialized`);
6667
});
6768
}
6869
}

src/PowerShell/ServicePrincipalLogin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export class ServicePrincipalLogin implements IAzurePowerShellSession {
5151
if (!(Constants.Success in result)) {
5252
throw new Error(`Azure PowerShell login failed with error: ${result[Constants.Error]}`);
5353
}
54+
console.log(`Azure PowerShell session successfully initialized`);
5455
}
5556

5657
}

0 commit comments

Comments
 (0)