feat(FN-4935): complete Step 7 — testing and verification
Ref: Runfusion/Fusion#601 Fusion-Task-Id: FN-4935 Fusion-Task-Lineage: 8c842b69-1427-47be-9ba5-8ec66449cc7c
This commit is contained in:
committed by
gsxdsm
parent
f562c856da
commit
3bbc5077b8
@@ -109,7 +109,9 @@ export async function describeRegisteredWorktrees(rootDir: string): Promise<{ ra
|
||||
}
|
||||
|
||||
return { rawOutput: stdout, canonicalized };
|
||||
} catch {
|
||||
} catch (err: unknown) {
|
||||
const errorMessage = err instanceof Error ? err.message : String(err);
|
||||
worktreePoolLog.warn(`[worktree-pool] Failed to list registered worktrees: ${errorMessage}`);
|
||||
return { rawOutput: "", canonicalized: [] };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user