File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export function getCheckpointService(cline: Task) {
2424 }
2525
2626 if ( cline . checkpointServiceInitializing ) {
27+ console . log ( "[Task#getCheckpointService] checkpoint service is still initializing" )
2728 return undefined
2829 }
2930
@@ -136,6 +137,7 @@ async function getInitializedCheckpointService(
136137 try {
137138 await pWaitFor (
138139 ( ) => {
140+ console . log ( "[Task#getCheckpointService] waiting for service to initialize" )
139141 return service . isInitialized
140142 } ,
141143 { interval, timeout } ,
@@ -165,6 +167,7 @@ export async function checkpointSave(cline: Task, force = false) {
165167
166168 // Start the checkpoint process in the background.
167169 return service . saveCheckpoint ( `Task: ${ cline . taskId } , Time: ${ Date . now ( ) } ` , { allowEmpty : force } ) . catch ( ( err ) => {
170+ console . error ( "[Task#checkpointSave] caught unexpected error, disabling checkpoints" , err )
168171 cline . enableCheckpoints = false
169172 } )
170173}
You can’t perform that action at this time.
0 commit comments