This commit is contained in:
Martin McKeaveney 2020-07-16 15:19:46 +01:00
parent 0e264b5e6e
commit 6ae30e6d87
3 changed files with 4 additions and 4 deletions

View File

@ -13,12 +13,12 @@ function captureException(err) {
} }
function captureEvent(event) { function captureEvent(event) {
if (process.env.NODE_ENV !== "production") return; if (process.env.NODE_ENV !== "production") return
posthog.capture(event) posthog.capture(event)
} }
export default { export default {
activate, activate,
captureException, captureException,
captureEvent captureEvent,
} }