fix(checkpoint): fail closed on pause queries
This commit is contained in:
1 parent
a99bcb97c6
commit
f8a90f4402
3 files changed
+32
-6
No files matched your search
@@ -157,7 +157,7 @@ export function createCheckpointEngine(deps: CheckpointDeps) {
|
||||
return db.core.approvals.hasPendingReviewApprovalForAgent(companyId, agentId);
|
||||
} catch (err) {
|
||||
logger.error(`[checkpoint] shouldPauseHeartbeat failed: ${err instanceof Error ? err.message : String(err)}`);
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user