diff --git a/Project-Unite/App_Start/IdentityConfig.cs b/Project-Unite/App_Start/IdentityConfig.cs index 8788e97..0adcd80 100644 --- a/Project-Unite/App_Start/IdentityConfig.cs +++ b/Project-Unite/App_Start/IdentityConfig.cs @@ -57,7 +57,8 @@ public Task SendAsync(IdentityMessage msg) } sb.AppendLine("FUCKING CONTACT MICHAEL. NOW."); string exc = sb.ToString(); - throw new Exception(exc); + var db = new ApplicationDbContext(); + db.AuditLogs.Add(new AuditLog("system", AuditLogLevel.Admin, exc)); } return Task.FromResult(result); }