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