stop on rare bug/failure
This commit is contained in:
parent
bab01a6354
commit
2f11d99a97
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue