diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index d40248175b..a91dd8bd78 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -56,7 +56,7 @@ static CAsset GetAssetFromString(const std::string& strasset) asset = CAsset(uint256S(strasset)); } if (asset.IsNull()) { - throw JSONRPCError(RPC_WALLET_ERROR, "Unknown label and invalid asset hex"); + throw JSONRPCError(RPC_WALLET_ERROR, strprintf("Unknown label and invalid asset hex: %s", strasset.c_str())); } return asset; }