mirror of
https://github.com/azure/login.git
synced 2026-03-13 18:17:09 -04:00
added log in ServicePrincipalLogin
This commit is contained in:
@@ -63,6 +63,7 @@ class ServicePrincipalLogin {
|
||||
if (!(Constants_1.default.Success in result)) {
|
||||
throw new Error(`Azure PowerShell login failed with error: ${result[Constants_1.default.Error]}`);
|
||||
}
|
||||
console.log(`Azure PowerShell session successfully initialized`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,6 +51,7 @@ export class ServicePrincipalLogin implements IAzurePowerShellSession {
|
||||
if (!(Constants.Success in result)) {
|
||||
throw new Error(`Azure PowerShell login failed with error: ${result[Constants.Error]}`);
|
||||
}
|
||||
console.log(`Azure PowerShell session successfully initialized`);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user