Remove warning

This commit is contained in:
nicolas.dorier 2023-04-10 12:01:11 +09:00
parent 8302f082a2
commit ac25fef555
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

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);
}