From 6fed7738a7cadd7a6a602d18b183e3d2cc4dd23c Mon Sep 17 00:00:00 2001 From: "saito.k" Date: Tue, 22 Aug 2023 19:10:21 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=82=92=E3=82=82?= =?UTF-8?q?=E3=81=A8=E3=81=AB=E6=88=BB=E3=81=99=20=E6=BC=8F=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=9F=E7=A2=BA=E8=AA=8D=E3=81=AE=E3=81=9F=E3=82=81?= =?UTF-8?q?=E3=81=AB=E3=82=A8=E3=83=A9=E3=83=BC=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dictation_server/src/gateways/blobstorage/blobstorage.service.ts | 1 - .../src/repositories/accounts/accounts.repository.service.ts | 1 - .../src/repositories/users/users.repository.service.ts | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dictation_server/src/gateways/blobstorage/blobstorage.service.ts b/dictation_server/src/gateways/blobstorage/blobstorage.service.ts index a806f48..0c5d6af 100644 --- a/dictation_server/src/gateways/blobstorage/blobstorage.service.ts +++ b/dictation_server/src/gateways/blobstorage/blobstorage.service.ts @@ -116,7 +116,6 @@ export class BlobstorageService { `delete blob container failed. succeeded: ${succeeded}, errorCode: ${errorCode}, date: ${date}`, ); } - throw new Error('Blob container Error'); } catch (e) { this.logger.error(`error=${e}`); throw e; diff --git a/dictation_server/src/repositories/accounts/accounts.repository.service.ts b/dictation_server/src/repositories/accounts/accounts.repository.service.ts index bc9d8d3..e58669a 100644 --- a/dictation_server/src/repositories/accounts/accounts.repository.service.ts +++ b/dictation_server/src/repositories/accounts/accounts.repository.service.ts @@ -169,7 +169,6 @@ export class AccountsRepositoryService { // アカウントを削除 await accountsRepo.delete({ id: accountId }); }); - throw new Error('DB Error'); } /** diff --git a/dictation_server/src/repositories/users/users.repository.service.ts b/dictation_server/src/repositories/users/users.repository.service.ts index 7683de3..617d3ff 100644 --- a/dictation_server/src/repositories/users/users.repository.service.ts +++ b/dictation_server/src/repositories/users/users.repository.service.ts @@ -398,5 +398,6 @@ export class UsersRepositoryService { // プライマリ管理者を削除 await usersRepo.delete({ id: userId }); }); + throw new Error('DB Error'); } }