Skip to content

Commit e04864e

Browse files
authored
add argument (#1329)
1 parent 5b87ef3 commit e04864e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/server/monalisa-synchronization/MonALISASynchronizer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ class MonALISASynchronizer {
5353
};
5454

5555
for (const dataPass of dataPasses) {
56-
await dataSource.transaction(() => transactionablePipeline(dataPass)).catch((error) => this.logger.errorMessage(error));
56+
await dataSource.transaction(() => transactionablePipeline(dataPass))
57+
.catch((error) => this.logger.errorMessage(error.message, {}));
5758
}
5859
this.logger.debug('Synchronization completed');
5960
} catch (error) {
60-
this.logger.errorMessage(error.message);
61+
this.logger.errorMessage(error.message, {});
6162
}
6263
}
6364

0 commit comments

Comments
 (0)