stop on rare bug/failure

This commit is contained in:
Niko Storni 2019-07-12 02:21:27 +02:00
parent bab01a6354
commit 2f11d99a97

View file

@ -657,6 +657,7 @@ func (s *Sync) startWorker(workerNum int) {
"cannot concatenate 'str' and 'NoneType' objects",
"more than 90% of the space has been used.",
"HTTP Error 429",
"Couldn't find private key for id",
}
if util.SubstringInSlice(err.Error(), fatalErrors) || s.StopOnError {
s.grp.Stop()