mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
unify database connection database & backend - also log errors
This commit is contained in:
parent
da57754649
commit
c726ee9483
@ -16,7 +16,10 @@ const connection = async (): Promise<Connection | null> => {
|
||||
entities,
|
||||
synchronize: false,
|
||||
})
|
||||
} catch (error) {}
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(error)
|
||||
}
|
||||
|
||||
return con
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user