Skip to content

Commit

Permalink
fix:csv file error handling (#536)
Browse files Browse the repository at this point in the history
Signed-off-by: pranalidhanavade <[email protected]>
Signed-off-by: bhavanakarwade <[email protected]>
  • Loading branch information
pranalidhanavade authored and KulkarniShashank committed Sep 11, 2024
1 parent 21b408f commit b5cc656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/issuance/src/issuance.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ const credefError = [];

} catch (error) {
this.logger.error(`error in validating credentials : ${error.response}`);
throw new RpcException(error.response ? error.response : error);
throw new Error(error.response.message ? error.response.message : error);
} finally {
// await this.awsService.deleteFile(importFileDetails.fileKey);
// this.logger.error(`Deleted uploaded file after processing.`);
Expand Down

0 comments on commit b5cc656

Please sign in to comment.