mirror of
https://github.com/knadh/listmonk.git
synced 2025-12-16 15:18:36 +08:00
Print full line with error in the importer log. Close #2549.
This commit is contained in:
parent
4f6880d38e
commit
a424f01fc6
1 changed files with 1 additions and 1 deletions
|
|
@ -548,7 +548,7 @@ func (s *Session) LoadCSV(srcPath string, delim rune) error {
|
||||||
|
|
||||||
sub, err = s.im.ValidateFields(sub)
|
sub, err = s.im.ValidateFields(sub)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
s.log.Printf("skipping line %d: %s: %v", i, sub.Email, err)
|
s.log.Printf("skipping line %d: %v: %v", i, err, cols)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue