diff --git a/pyentrypoint/entrypoint.py b/pyentrypoint/entrypoint.py index 7a096a8..071b520 100644 --- a/pyentrypoint/entrypoint.py +++ b/pyentrypoint/entrypoint.py @@ -125,6 +125,7 @@ def main(argv): entry.launch() except Exception as e: entry.log.error(str(e)) + exit(1) if __name__ == '__main__': diff --git a/setup.py b/setup.py index b6c04d9..920e9d5 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup # Thanks Sam and Max -__version__ = '0.5.1' +__version__ = '0.5.2' if __name__ == '__main__': setup(