error message fixes

This commit is contained in:
Martin McKeaveney 2021-10-19 16:52:55 +01:00
parent dac2a1ad91
commit a174de7f28
4 changed files with 854 additions and 19 deletions

View File

@ -39,7 +39,7 @@
await admin.init()
$goto("../portal")
} catch (err) {
notifications.error(`Failed to create admin user`)
notifications.error(`Failed to create admin user: ${err}`)
}
}

View File

@ -104,6 +104,7 @@
"mongodb": "3.6.3",
"mssql": "6.2.3",
"mysql": "2.18.1",
"mysql2": "^2.3.1",
"node-fetch": "2.6.0",
"open": "7.3.0",
"pg": "8.5.1",

View File

@ -21,6 +21,10 @@ exports.endUserPing = async ctx => {
return
}
posthogClient.identify({
distinctId: ctx.user && ctx.user._id,
properties: {},
})
posthogClient.capture({
event: "budibase:end_user_ping",
distinctId: ctx.user && ctx.user._id,

File diff suppressed because it is too large Load Diff