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
d8e3db5b0f
commit
a600eaa4b8
@ -16,7 +16,10 @@ const connection = async (): Promise<Connection | null> => {
|
|||||||
entities,
|
entities,
|
||||||
synchronize: false,
|
synchronize: false,
|
||||||
})
|
})
|
||||||
} catch (error) {}
|
} catch (error) {
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
console.log(error)
|
||||||
|
}
|
||||||
|
|
||||||
return con
|
return con
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user