feat(xo-server/getBackupNgLogs): dont fail on undefined/null errors
See xoa-support#2663 This should almost never happen but if it does, it should not prevent logs from being consolidated.
This commit is contained in:
parent
2198853662
commit
44ff2f872d
@ -4,9 +4,10 @@ import { forEach, isEmpty, iteratee, sortedIndexBy } from 'lodash'
|
||||
import { debounceWithKey } from '../_pDebounceWithKey'
|
||||
|
||||
const isSkippedError = error =>
|
||||
error.message === 'no disks found' ||
|
||||
error.message === 'no VMs match this pattern' ||
|
||||
error.message === 'unhealthy VDI chain'
|
||||
error != null &&
|
||||
(error.message === 'no disks found' ||
|
||||
error.message === 'no VMs match this pattern' ||
|
||||
error.message === 'unhealthy VDI chain')
|
||||
|
||||
const getStatus = (
|
||||
error,
|
||||
|
Loading…
Reference in New Issue
Block a user