From 9c28308fb65b3a4b1e2f4b2ce74a4e75a1680f77 Mon Sep 17 00:00:00 2001 From: C-xC-c Date: Fri, 13 Dec 2019 00:06:47 +0000 Subject: [PATCH] wording --- BantFlags/Controllers/FlagsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BantFlags/Controllers/FlagsController.cs b/BantFlags/Controllers/FlagsController.cs index 0e5a170..df7a0f5 100644 --- a/BantFlags/Controllers/FlagsController.cs +++ b/BantFlags/Controllers/FlagsController.cs @@ -135,7 +135,7 @@ namespace BantFlags.Controllers NullReferenceException _ => "Some data wasn't initialised. Are you sending everything?", DbException _ => "Internal database error.", ArgumentNullException _ => "No regions sent", - ArgumentException e => e.Message, // We create all arguement exceptions here, so we can pass the message on. + ArgumentException e => e.Message, // We create all arguement exceptions here, we can just pass the message on. Exception e => e.Message, // Don't do this. _ => "how in the hell" }; // This needs more testing.