Skip to content

Commit

Permalink
fix: report errors when post-processing files for the second time
Browse files Browse the repository at this point in the history
  • Loading branch information
AVVS committed Mar 16, 2016
1 parent c76c165 commit 88b6220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class Files extends Mservice {
.call(this, `${FILES_DATA}:${file.id}`, file)
.reflect()
.tap(result => {
this.log.info({ owner: file.owner }, '%s | %s', result.isFulfilled() ? 'processed' : 'failed', file.id);
this.log.info({ owner: file.owner }, '%s |', file.id, result.isFulfilled() ? 'processed' : result.reason());
});
})
.then(() => {
Expand Down

0 comments on commit 88b6220

Please sign in to comment.