feat(discord): added in a way to get panic messages that would crash the server only or fatal

This commit is contained in:
2025-08-04 21:23:06 -05:00
parent 3cec883356
commit 89ef04cc6f
4 changed files with 81 additions and 2 deletions

View File

@@ -107,6 +107,7 @@ func (l *CustomLogger) Panic(message, service string, fields map[string]interfac
l.consoleLogger.Warn().Msg("Additional panic context captured")
}
CreateDiscordMsg(message)
panic(message)
}