Update sample configuration to dump logs on failure

Trivial change here - The key `on_failure` should be `after_failure` or the logs are not dumped on failure.