Skip to content

Commit

Permalink
Reword log message when function raises a cancellation error
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Aug 5, 2024
1 parent b3c3b7e commit 6dbc5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modal/_container_io_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ async def handle_input_exception(self, input_id, started_at: float) -> AsyncGene
# just skip creating any output for this input and keep going with the next instead
# it should have been marked as cancelled already in the backend at this point so it
# won't be retried
logger.warning(f"The current input ({input_id=}) was cancelled by a user request")
logger.warning(f"Function recevied a cancellation signal while processing input {input_id}")
await self.complete_call(started_at)
return
except BaseException as exc:
Expand Down

0 comments on commit 6dbc5ae

Please sign in to comment.