From 8cdf2bcb2fb00e0110b3dd73d64dfd8ffca5256e Mon Sep 17 00:00:00 2001 From: MellyGray Date: Mon, 18 Sep 2023 10:55:05 +0200 Subject: [PATCH] fix: remove debugging error log --- src/files/infrastructure/FileJSDataverseRepository.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/files/infrastructure/FileJSDataverseRepository.ts b/src/files/infrastructure/FileJSDataverseRepository.ts index a5897ba3d..f397a19f5 100644 --- a/src/files/infrastructure/FileJSDataverseRepository.ts +++ b/src/files/infrastructure/FileJSDataverseRepository.ts @@ -48,7 +48,6 @@ export class FileJSDataverseRepository implements FileRepository { ) ) .catch((error: WriteError) => { - console.error('Error getting files from Dataverse', error) throw new Error(error.message) }) } @@ -84,7 +83,6 @@ export class FileJSDataverseRepository implements FileRepository { JSFileMapper.toFileUserPermissions(id, jsFileUserPermissions) ) .catch((error: WriteError) => { - console.error('Error getting the file user permissions from Dataverse', error) throw new Error(error.message) }) }