If a task fails using the ImmediateBackend, this exception is currently swallowed and isn't accessible anywhere. This should be rectified by adding a logger.exception call to ensure the error is seen, and captured by error monitoring. This matches the behaviour of the database backend.