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) }) }