dotnetflags
C-xC-c 4 years ago
parent ebb982a00b
commit 9c28308fb6

@ -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.

Loading…
Cancel
Save