同步异常兜底
This commit is contained in:
1 parent
9cb8552a99
commit
a1b4a63552
20 files changed
+754
-54
No files matched your search
@@ -268,7 +268,12 @@ export function useBackup() {
|
||||
)
|
||||
await refreshJobsFirstPage()
|
||||
startPolling()
|
||||
toast.add({ title: t('storage.backup.siteSyncStarted'), color: 'success' })
|
||||
toast.add({
|
||||
title: body.abandonJobId
|
||||
? t('storage.backup.siteSyncAbandoned')
|
||||
: t('storage.backup.siteSyncStarted'),
|
||||
color: 'success'
|
||||
})
|
||||
return data.job
|
||||
} catch (error: unknown) {
|
||||
handleError(error, t('storage.backup.siteSyncFailed'))
|
||||
|
||||
Reference in new issue
Block a user