mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
include logger for error when creation is not successful
This commit is contained in:
parent
8ebea39870
commit
dcd2ec708d
@ -642,7 +642,8 @@ export class ContributionResolver {
|
||||
})
|
||||
} catch (e) {
|
||||
await queryRunner.rollbackTransaction()
|
||||
throw new Error(`Creation was not successful.`)
|
||||
logger.error('Creation was not successful', e)
|
||||
throw new Error('Creation was not successful.')
|
||||
} finally {
|
||||
await queryRunner.release()
|
||||
releaseLock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user