mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
smtp: add missing log message param
This commit is contained in:
@@ -536,7 +536,7 @@ func (s *Session) parseArgs(arg string) (args map[string]string, ok bool) {
|
|||||||
re := regexp.MustCompile(` (\w+)=(\w+)`)
|
re := regexp.MustCompile(` (\w+)=(\w+)`)
|
||||||
pm := re.FindAllStringSubmatch(arg, -1)
|
pm := re.FindAllStringSubmatch(arg, -1)
|
||||||
if pm == nil {
|
if pm == nil {
|
||||||
s.logger.Warn().Msgf("Failed to parse arg string: %q")
|
s.logger.Warn().Msgf("Failed to parse arg string: %q", arg)
|
||||||
return nil, false
|
return nil, false
|
||||||
}
|
}
|
||||||
for _, m := range pm {
|
for _, m := range pm {
|
||||||
|
|||||||
Reference in New Issue
Block a user