File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ Please check the tool's input schema using ${HelperTools.ACTOR_GET_DETAILS} tool
633633 if ( progressTracker ) {
634634 progressTracker . stop ( ) ;
635635 }
636-
636+ toolStatus = ( 'isError' in res && res . isError ) ? 'failed' : 'succeeded' ;
637637 return { ...res } ;
638638 }
639639
@@ -646,6 +646,7 @@ Please check the tool's input schema using ${HelperTools.ACTOR_GET_DETAILS} tool
646646Please verify the server URL is correct and accessible, and ensure you have a valid Apify token with appropriate permissions.` ;
647647 log . softFail ( msg , { statusCode : 408 } ) ; // 408 Request Timeout
648648 await this . server . sendLoggingMessage ( { level : 'error' , data : msg } ) ;
649+ toolStatus = 'failed' ;
649650 return buildMCPResponse ( [ msg ] , true ) ;
650651 }
651652
You can’t perform that action at this time.
0 commit comments