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 bhavanakarwade committed Feb 27, 2024
1 parent 2f89f86 commit 46161b7
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 @@ -815,7 +815,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 46161b7

Please sign in to comment.