fix(xo-server-audit/_uploadLastHash): dont hide errors
This commit is contained in:
parent
8a98b6b012
commit
42ee29cb3c
@ -344,7 +344,11 @@ class AuditXoPlugin {
|
||||
}
|
||||
|
||||
integrityCheckSuccess = true
|
||||
} catch (_) {
|
||||
} catch (error) {
|
||||
if (!missingAuditRecord.is(error) && !alteredAuditRecord.is(error)) {
|
||||
throw error
|
||||
}
|
||||
|
||||
integrityCheckSuccess = false
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user