Skip to content

Commit 88b6220

Browse files
committed
fix: report errors when post-processing files for the second time
1 parent c76c165 commit 88b6220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class Files extends Mservice {
188188
.call(this, `${FILES_DATA}:${file.id}`, file)
189189
.reflect()
190190
.tap(result => {
191-
this.log.info({ owner: file.owner }, '%s | %s', result.isFulfilled() ? 'processed' : 'failed', file.id);
191+
this.log.info({ owner: file.owner }, '%s |', file.id, result.isFulfilled() ? 'processed' : result.reason());
192192
});
193193
})
194194
.then(() => {

0 commit comments

Comments
 (0)