Skip to content

populate the correct error message thrown by the bottom layer when validating the legal tag

Mingyang Zhu requested to merge fix-error-message into master

It is related to issue: #3 (closed)

In the previous MR, we fix the fail open bug and let the service throw AppException when it has trouble reading the partition Legal_COO.json file. However, there is one API calls the Legal_COO.json reader inside the validator and will return different error message if the bottom layer throws the exception. In this fix, we catch it and populate the correct error message.

Merge request reports