Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariano Goldman committed Feb 16, 2024
1 parent c7775d1 commit eafc876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/src/controller/handlers/create-entity-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ export async function createEntity(
) {
issues = true
console.log(
`${prefix}: Emote pointer ${urn} should be an item, not an asset. The URN must include the tokenId.`
`${prefix()}: Emote pointer ${urn} should be an item, not an asset. The URN must include the tokenId.`
)
}
}
}
}

if (issues) {
console.log(prefix(), context.request.headers)
console.log(`${prefix()} headers: ${context.request.headers}`)
console.log(`${prefix()} referer: ${context.request.headers['referer']}`)
console.log(`${prefix()} user-agent: ${context.request.headers['user-agent']}`)
}
Expand Down

0 comments on commit eafc876

Please sign in to comment.