File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -411,9 +411,10 @@ async def _execute_get_result_request(self, request_header_and_message):
411
411
'Result request received for goal with ID: {0}' .format (goal_uuid ))
412
412
413
413
# If no goal with the requested ID exists, then return UNKNOWN status
414
+ # or the goal with the requested ID has been already expired
414
415
if bytes (goal_uuid ) not in self ._goal_handles :
415
- self ._logger .debug (
416
- 'Sending result response for unknown goal ID: {0}' .format (goal_uuid ))
416
+ self ._logger .warn (
417
+ 'Sending result response for unknown or expired goal ID: {0}' .format (goal_uuid ))
417
418
result_response = self ._action_type .Impl .GetResultService .Response ()
418
419
result_response .status = GoalStatus .STATUS_UNKNOWN
419
420
self ._handle .send_result_response (request_header , result_response )
You can’t perform that action at this time.
0 commit comments