diff --git a/tests/rptest/clients/rpk.py b/tests/rptest/clients/rpk.py index b5b0c5bfb1286..75ef8633ecacd 100644 --- a/tests/rptest/clients/rpk.py +++ b/tests/rptest/clients/rpk.py @@ -1135,7 +1135,6 @@ def _execute(self, cmd, stdin=None, timeout=None, log_cmd=True, env=None): self._redpanda.logger.debug(f'\n{output}') if p.returncode: - self._redpanda.logger.error(stderror) raise RpkException( 'command %s returned %d, output: %s' % (' '.join(cmd) if log_cmd else '[redacted]', p.returncode,