added log in ServicePrincipalLogin

This commit is contained in:
Akshaya M
2020-03-27 09:56:23 +05:30
parent 7c947326c2
commit 28f29173ac
2 changed files with 2 additions and 0 deletions

View File

@@ -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`);
});
}
}

View File

@@ -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`);
}
}