interbtc-api icon indicating copy to clipboard operation
interbtc-api copied to clipboard

Include ID of foreign asset not found when rejecting

Open bvotteler opened this issue 3 years ago • 1 comments

The rejection message in DefaultAssetRegistryAPI.getForeignAsset(...) should include the id.

https://github.com/interlay/interbtc-api/blob/d987b57b73aa1a008037dab6d653f302ba560584/src/parachain/asset-registry.ts#L99

bvotteler avatar Dec 22 '22 10:12 bvotteler

Hello, so we would want the id to be in the error message. For example:

image

artsytechie avatar Feb 14 '23 20:02 artsytechie