From ac25fef5554fd8d20d64dacde54b7c3eefd190bb Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Mon, 10 Apr 2023 12:01:11 +0900 Subject: [PATCH] Remove warning --- BTCPayServer/Controllers/UILNURLController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Controllers/UILNURLController.cs b/BTCPayServer/Controllers/UILNURLController.cs index 7304dda34..d407796c2 100644 --- a/BTCPayServer/Controllers/UILNURLController.cs +++ b/BTCPayServer/Controllers/UILNURLController.cs @@ -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); }