diff --git a/internal/plugin/plugin.go b/internal/plugin/plugin.go index fa2d69ba..5a1e3a69 100644 --- a/internal/plugin/plugin.go +++ b/internal/plugin/plugin.go @@ -341,7 +341,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{