diff --git a/pg_probackup2/init_helpers.py b/pg_probackup2/init_helpers.py index e126bca..f6bd20c 100644 --- a/pg_probackup2/init_helpers.py +++ b/pg_probackup2/init_helpers.py @@ -96,8 +96,9 @@ def __init__(self): if shutil.which(test_env["PGPROBACKUPBIN"]): self.probackup_path = test_env["PGPROBACKUPBIN"] else: - if self.verbose: - print('PGPROBACKUPBIN is not an executable file') + raise Exception( + 'pg_probackup binary not found at PGPROBACKUPBIN={0}'.format( + test_env["PGPROBACKUPBIN"])) if not self.probackup_path: probackup_path_tmp = os.path.join( diff --git a/setup.py b/setup.py index 330dfc2..6c82847 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from distutils.core import setup setup( - version='0.7.0', + version='0.7.1', name='testgres_pg_probackup2', packages=['pg_probackup2', 'pg_probackup2.storage'], description='Plugin for testgres that manages pg_probackup2',