mirror of
https://github.com/carlostrub/sisyphus
synced 2024-10-31 09:20:15 +00:00
log when done learning
This commit is contained in:
parent
87b51ebee0
commit
9027d8a954
@ -149,10 +149,11 @@ func main() {
|
|||||||
log.WithFields(log.Fields{
|
log.WithFields(log.Fields{
|
||||||
"err": err,
|
"err": err,
|
||||||
"mail": val.Key,
|
"mail": val.Key,
|
||||||
}).Error("Cannot learn mail")
|
}).Warning("Cannot learn mail")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.Info("All mails learned")
|
||||||
|
|
||||||
// Classify whenever a mail arrives in "new"
|
// Classify whenever a mail arrives in "new"
|
||||||
watcher, err := fsnotify.NewWatcher()
|
watcher, err := fsnotify.NewWatcher()
|
||||||
|
Loading…
Reference in New Issue
Block a user