Skip to content

Commit

Permalink
Merge pull request #1020 from rocket-admin/backend_dynamo_db_improvem…
Browse files Browse the repository at this point in the history
…ents

addd temporary debug logs
  • Loading branch information
Artuomka authored Feb 11, 2025
2 parents 7c3a9bb + 1525547 commit ca2e8dc
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ export class GetTableRowsUseCase extends AbstractUseCase<GetTableRowsDs, FoundTa
autocompleteFields,
userEmail,
);

if (connectionId === 'JYCEZYqk' && tableName === 'followers') {
console.log('ROWS RETURNED BY DATA ACCESS OBJECT ', JSON.stringify(rows));
}
} catch (e) {
Sentry.captureException(e);
throw new UnknownSQLException(e.message, ExceptionOperations.FAILED_TO_GET_ROWS_FROM_TABLE);
Expand Down Expand Up @@ -278,6 +282,9 @@ export class GetTableRowsUseCase extends AbstractUseCase<GetTableRowsDs, FoundTa
});

operationResult = OperationResultStatusEnum.successfully;
if (connectionId === 'JYCEZYqk' && tableName === 'followers') {
console.log('PROCESS ROWS ON LAST STAGE BEFORE RETURNING TO USER ', JSON.stringify(rowsRO.rows));
}
return rowsRO;
} catch (e) {
Sentry.captureException(e);
Expand Down Expand Up @@ -308,7 +315,6 @@ export class GetTableRowsUseCase extends AbstractUseCase<GetTableRowsDs, FoundTa
userId,
);
}

}

private async attachForeignColumnNames(
Expand Down

0 comments on commit ca2e8dc

Please sign in to comment.