mirror of
https://github.com/colanode/colanode.git
synced 2025-12-29 00:25:03 +01:00
Cleanup some console logs
This commit is contained in:
@@ -229,7 +229,6 @@ class InteractionService {
|
||||
userId: string,
|
||||
interaction: ServerInteraction
|
||||
): Promise<boolean> {
|
||||
console.log('trying to apply server interaction', interaction);
|
||||
const workspaceDatabase =
|
||||
await databaseService.getWorkspaceDatabase(userId);
|
||||
|
||||
|
||||
@@ -287,7 +287,6 @@ class SyncService {
|
||||
let cursor: bigint | null = null;
|
||||
try {
|
||||
for (const interaction of message.interactions) {
|
||||
console.log('applying server interaction', interaction);
|
||||
await interactionService.applyServerInteraction(
|
||||
message.userId,
|
||||
interaction
|
||||
@@ -299,7 +298,6 @@ class SyncService {
|
||||
this.updateInteractionCursor(message.userId, cursor);
|
||||
}
|
||||
} catch (error) {
|
||||
console.log('error syncing server interactions', error);
|
||||
this.logger.error(
|
||||
error,
|
||||
`Error syncing server interactions for user ${message.userId}`
|
||||
|
||||
@@ -21,7 +21,6 @@ class InteractionService {
|
||||
.executeTakeFirst();
|
||||
|
||||
if (!workspaceUser || workspaceUser.account_id !== accountId) {
|
||||
console.log('workspace user not found', accountId, message.userId);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -504,7 +504,6 @@ class NodeService {
|
||||
},
|
||||
};
|
||||
} catch (error) {
|
||||
console.log('error', error);
|
||||
return { type: 'retry', output: null };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user