From 97d7888b36c9cf9e1c5c6a4892e954b901397f30 Mon Sep 17 00:00:00 2001 From: Robert Marshall Date: Sat, 4 May 2019 17:41:24 +0100 Subject: [PATCH] Fix resharper complaints --- Website/Controllers/BlogController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/Controllers/BlogController.cs b/Website/Controllers/BlogController.cs index 92f8a0f..9380795 100644 --- a/Website/Controllers/BlogController.cs +++ b/Website/Controllers/BlogController.cs @@ -34,7 +34,7 @@ namespace Website.Controllers var post = await _repo.GetPostByUrlAsync(url); var model = new BlogPostViewModel(post); return View(model); - } catch (InvalidOperationException e) { + } catch (InvalidOperationException) { return NotFound(); } }