feat(discord): added in a way to get panic messages that would crash the server only or fatal
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user