Skip to content

Commit

Permalink
Adds more logging to addRegistrationCredit
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-toth committed Aug 11, 2024
1 parent 4421e51 commit dc8ade9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/verification/verification.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class VerificationService {
if (this.isLive === 'true') {
try {
this.logger.log(
`Adding registration credit to [${address}|${fingerprint}]}`
`Adding registration credit to [${JSON.stringify({ address, tx, fingerprint})}]}`
)
const response = await this.relayRegistryContract
.writeInteraction<AddRegistrationCredits>({
Expand All @@ -175,7 +175,7 @@ export class VerificationService {
)
} catch (error) {
this.logger.error(
`Exception when adding registration credit [${address}]`,
`Exception when adding registration credit [${JSON.stringify({ address, tx, fingerprint})}]`,
error.stack,
)
return false
Expand Down

0 comments on commit dc8ade9

Please sign in to comment.