Skip to content

Commit 8878995

Browse files
committed
RE: improve logs to identify whether all data was collected and sent into the application
1 parent 1a9e682 commit 8878995

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reverse_engineering/api.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ module.exports = {
194194
})
195195
.then(({ packages, relationships }) => ({ packages: orderPackages(packages), relationships }));
196196

197+
postgresLogger.info('The data is processed and sent to the application', {
198+
packagesLength: packages?.length,
199+
relationshipsLength: relationships?.length,
200+
});
197201
callback(null, packages, modelData, relationships);
198202
} catch (error) {
199203
logger.log('error', prepareError(error), 'Retrieve tables data');

0 commit comments

Comments
 (0)