Skip to content

Commit

Permalink
update logger message
Browse files Browse the repository at this point in the history
  • Loading branch information
maguimarijuan committed Jun 4, 2020
1 parent 11b7545 commit b219c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/export-process.js
Expand Up @@ -57,7 +57,7 @@ class ExportProcess {
const updateStatus = await this.exportModel.update({ status: this.statuses.processing }, { id, status: this.statuses.pending });

if(!updateStatus) {
const errorMessage = `Fail to update export ID: ${id}`;
const errorMessage = `No export document with ID: ${id} and status: ${this.statuses.pending} was found`;
logger.error(errorMessage);
return;
}
Expand Down

0 comments on commit b219c30

Please sign in to comment.