Skip to content

Commit

Permalink
use correct logger
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh committed Oct 18, 2023
1 parent 0b86510 commit a87625a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions connectors/src/connectors/notion/temporal/activities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ async function resolveResourceParent({
);

if (reachable) {
logger.info("Found a new reachable parent.");
localLogger.info("Found a new reachable parent.");
return {
parentId: newParentId,
parentType: newParentType,
Expand Down Expand Up @@ -1597,7 +1597,11 @@ export async function renderAndUpsertPageFromCache({
parentType,
pageId,
accessToken,
loggerArgs,
loggerArgs = {
...loggerArgs,
workspaceId: connector.workspaceId,
dataSourceName: connector.dataSourceName,
},
});

parentType = resolvedParent.parentType;
Expand Down

0 comments on commit a87625a

Please sign in to comment.