This commit is contained in:
bergquist
2016-03-08 13:29:42 +01:00
parent f397d0ddd7
commit d7a72e30c0

View File

@ -118,11 +118,11 @@ func downloadFile(pluginName, filepath, url string) (err error) {
if r := recover(); r != nil {
retryCount++
if retryCount == 1 {
log.Debug("\nFailed downloading. Will retry once.\n")
log.Debug("\nFailed downloading. Will retry once.\n")
downloadFile(pluginName, filepath, url)
} else {
panic(r)
}
panic(r)
}
}
}()