Change thrown error message.

This commit is contained in:
elweyn 2022-08-23 11:09:41 +02:00
parent 27fd42f097
commit e70a18c6bb
2 changed files with 2 additions and 2 deletions

View File

@ -733,7 +733,7 @@ export class AdminResolver {
} catch (e) {
await queryRunner.rollbackTransaction()
logger.error(`ContributionMessage was not successful: ${e}`)
throw new Error(`Transaction was not successful: ${e}`)
throw new Error(`ContributionMessage was not successful: ${e}`)
} finally {
await queryRunner.release()
}

View File

@ -44,7 +44,7 @@ export class ContributionResolver {
} catch (e) {
await queryRunner.rollbackTransaction()
logger.error(`ContributionMessage was not successful: ${e}`)
throw new Error(`Transaction was not successful: ${e}`)
throw new Error(`ContributionMessage was not successful: ${e}`)
} finally {
await queryRunner.release()
}