fix: server_logs creates inf loop on l-s install
fix: flag that skips storing server_logs on DB when table does not yet exists fix: hook server logs migration as soft dependency on initial Revert "fix: hook server logs migration as soft dependency on initial" This reverts commit e6c4cf4419c894598393997637dcfd95a5ff6a0e. fix: empty promise, actually no additional promise was needed
This commit is contained in:
parent
4b98f3503f
commit
8a8503dcbb
2 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,8 @@ const pgp = Pgp({
|
|||
const db = pgp(psqlUrl)
|
||||
|
||||
eventBus.subscribe('log', args => {
|
||||
if (process.env.SKIP_SERVER_LOGS) return
|
||||
|
||||
const { level, message, meta } = args
|
||||
const msgToSave = message ? message : _.get('message', meta)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue