1
0
Fork 0
mirror of synced 2024-06-27 18:40:42 +12:00
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()