def METHOD_NAME(self, logger):
    """
    An exception raised by the decorated function is passed through.
    """
    class Result(Exception):
        pass
    @log_call_deferred(action_type=u"the-action")
    def f():
        raise Result()
    self.assertThat(
        f(),
        failed(
            AfterPreprocessing(
                lambda f: f.value,
                IsInstance(Result),
            ),
        ),
    )