File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2572,7 +2572,7 @@ export class Cline extends EventEmitter<ClineEvents> {
25722572 }
25732573 }
25742574
2575- public checkpointSave ( ) {
2575+ public async checkpointSave ( ) {
25762576 const service = this . getCheckpointService ( )
25772577
25782578 if ( ! service ) {
@@ -2591,7 +2591,7 @@ export class Cline extends EventEmitter<ClineEvents> {
25912591 telemetryService . captureCheckpointCreated ( this . taskId )
25922592
25932593 // Start the checkpoint process in the background.
2594- service . saveCheckpoint ( `Task: ${ this . taskId } , Time: ${ Date . now ( ) } ` ) . catch ( ( err ) => {
2594+ return service . saveCheckpoint ( `Task: ${ this . taskId } , Time: ${ Date . now ( ) } ` ) . catch ( ( err ) => {
25952595 console . error ( "[Cline#checkpointSave] caught unexpected error, disabling checkpoints" , err )
25962596 this . enableCheckpoints = false
25972597 } )
You can’t perform that action at this time.
0 commit comments