Skip to content

Commit 4f4eae7

Browse files
committed
```
fix: Add logging when feature reload fails during status update ```
1 parent c196bc6 commit 4f4eae7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

apps/server/src/services/execution-service.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,12 @@ Please continue from where you left off and complete all remaining tasks. Use th
557557
try {
558558
const currentFeature = await this.loadFeatureFn(projectPath, featureId);
559559
currentStatus = currentFeature?.status;
560-
} catch {
561-
// If loading fails, proceed with the status update anyway
560+
} catch (loadErr) {
561+
// If loading fails, log it and proceed with the status update anyway
562+
logger.warn(
563+
`[executeFeature] Failed to reload feature ${featureId} for status check:`,
564+
loadErr
565+
);
562566
}
563567
if (currentStatus !== 'merge_conflict') {
564568
await this.updateFeatureStatusFn(projectPath, featureId, fallbackStatus);

0 commit comments

Comments
 (0)