MCPcopy Create free account
hub / github.com/aws/aws-cli / _log_and_set_exception

Method _log_and_set_exception

awscli/s3transfer/tasks.py:167–171  ·  view source on GitHub ↗
(self, exception)

Source from the content-addressed store, hash-verified

165 return return_value
166
167 def _log_and_set_exception(self, exception):
168 # If an exception is ever thrown than set the exception for the
169 # entire TransferFuture.
170 logger.debug("Exception raised.", exc_info=True)
171 self._transfer_coordinator.set_exception(exception)
172
173 def _main(self, **kwargs):
174 """The method that will be ran in the executor

Callers 2

__call__Method · 0.95
_mainMethod · 0.80

Calls 1

set_exceptionMethod · 0.45

Tested by

no test coverage detected