Skip to content

Commit

Permalink
refactor(marketplace-purchase-changed): better error log message
Browse files Browse the repository at this point in the history
  • Loading branch information
Realtin committed Jan 18, 2018
1 parent 2d2bb42 commit d3ce66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/github-event/marketplace_purchase/changed.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = async function ({ marketplace_purchase }) {
await upsert(payments, accountId, { plan })
log.success('database: paymentDoc was updated', { plan })
} catch (error) {
log.error('error', { error })
log.error('database: could not update paymentDoc', { error })
throw error
}
}

0 comments on commit d3ce66c

Please sign in to comment.