mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-08 12:07:06 +00:00
added logging statements
This commit is contained in:
@@ -46,7 +46,7 @@ const getDatabaseAccount = async (
|
||||
notebooksAccountName: string
|
||||
): Promise<DatabaseAccountsGetResponse> => {
|
||||
const client = new CosmosDBManagementClient(new CustomSigner(token), notebooksAccountSubscriptonId);
|
||||
return await client.databaseAccounts.get(notebooksAccountResourceGroup, notebooksAccountName);
|
||||
return client.databaseAccounts.get(notebooksAccountResourceGroup, notebooksAccountName);
|
||||
};
|
||||
|
||||
const sendMessageToExplorerFrame = (data: unknown): void => {
|
||||
@@ -100,6 +100,8 @@ const initTestExplorer = async (): Promise<void> => {
|
||||
portalRunnerDatabaseAccount
|
||||
);
|
||||
|
||||
console.log("token:" + token)
|
||||
console.log("db:" + databaseAccount)
|
||||
const initTestExplorerContent = {
|
||||
type: MessageTypes.InitTestExplorer,
|
||||
inputs: {
|
||||
|
||||
Reference in New Issue
Block a user