diff --git a/internal/plugin/plugin.go b/internal/plugin/plugin.go index b0f87848..62dceaed 100644 --- a/internal/plugin/plugin.go +++ b/internal/plugin/plugin.go @@ -340,7 +340,7 @@ func (m *Manager) NotifyLogEvent(event notifier.LogEventType, protocol, username if e == nil { message := "" if err != nil { - message = err.Error() + message = strings.Trim(err.Error(), "\x00") } e = ¬ifier.LogEvent{