This commit is contained in:
Martin McKeaveney 2020-07-16 15:19:46 +01:00
parent 5a24638e95
commit 4ca58ded5b
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -47,4 +47,4 @@ server.on("close", () => console.log("Server Closed"))
module.exports = server.listen(env.PORT || 4001, () => {
console.log(`Budibase running on ${JSON.stringify(server.address())}`)
})
})

View File

@ -16,4 +16,4 @@ async function runServer() {
require("./app")
}
runServer()
runServer()