mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Merge branch 'master' of https://github.com/advplyr/audiobookshelf
This commit is contained in:
commit
09beb6a2ae
@ -141,6 +141,9 @@ class BackupManager {
|
|||||||
if (error.message === "Bad archive") {
|
if (error.message === "Bad archive") {
|
||||||
Logger.warn(`[BackupManager] Backup appears to be corrupted: ${fullFilePath}`)
|
Logger.warn(`[BackupManager] Backup appears to be corrupted: ${fullFilePath}`)
|
||||||
continue;
|
continue;
|
||||||
|
} else if (error.message === "unexpected end of file") {
|
||||||
|
Logger.warn(`[BackupManager] Backup appears to be corrupted: ${fullFilePath}`)
|
||||||
|
continue;
|
||||||
} else {
|
} else {
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user