mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 18:31:34 +01:00
refactor(cli): reuse quarantine error constant
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
efa8c6a190
commit
2ffd416624
1 file changed
+2
-1
@@ -68,6 +68,7 @@ import {
|
||||
loadWithoutEmbeddedPostgresExitHooks,
|
||||
prepareEmbeddedPostgresNativeRuntime,
|
||||
} from "@paperclipai/db";
|
||||
import { WORKTREE_SEED_QUARANTINE_ERROR_CODE } from "@paperclipai/shared";
|
||||
import type { Command } from "commander";
|
||||
import { ensureAgentJwtSecret, loadPaperclipEnvFile, mergePaperclipEnvEntries, readPaperclipEnvEntries, resolvePaperclipEnvFile } from "../config/env.js";
|
||||
import { expandHomePrefix } from "../config/home.js";
|
||||
@@ -1352,7 +1353,7 @@ export async function quarantineSeededWorktreeExecutionState(
|
||||
.update(heartbeatRuns)
|
||||
.set({
|
||||
status: "cancelled",
|
||||
errorCode: "worktree_seed_quarantine",
|
||||
errorCode: WORKTREE_SEED_QUARANTINE_ERROR_CODE,
|
||||
processPid: null,
|
||||
processGroupId: null,
|
||||
scheduledRetryAt: null,
|
||||
|
||||
Reference in new issue
Block a user