Skip to content

Commit ac218aa

Browse files
logging
1 parent feb22f4 commit ac218aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/helper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ async function activateProject (projectId, currentUser, challengeId) {
549549
project = await ensureProjectExist(projectId, currentUser)
550550
await capturePayment(payment.id)
551551
} catch (e) {
552+
logger.debug(e)
552553
logger.debug(`Failed to charge payment ${payment.id} with error: ${e.message}`)
553554
await cancelProject(projectId, `Failed to charge payment ${payment.id} with error: ${e.message}`, currentUser, challengeId)
554555
throw new Error(`Failed to charge payment ${payment.id} with error: ${e.message}`)

0 commit comments

Comments
 (0)