Remove warning

This commit is contained in:
nicolas.dorier
2023-04-10 12:01:11 +09:00
parent 8302f082a2
commit ac25fef555

View File

@@ -765,7 +765,7 @@ namespace BTCPayServer
{
metadata = JObject.Parse(vm.Add.InvoiceMetadata);
}
catch (Exception e)
catch (Exception)
{
vm.AddModelError(addressVm => addressVm.Add.InvoiceMetadata, "Metadata must be a valid json object", this);
}