diff options
Diffstat (limited to 'datamaps/main.py')
-rw-r--r-- | datamaps/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/datamaps/main.py b/datamaps/main.py index 6111ddb..fb59b4b 100644 --- a/datamaps/main.py +++ b/datamaps/main.py @@ -147,7 +147,8 @@ def master(master): try: engine_cli.write_master_to_templates(blank, datamap, master) except (FileNotFoundError, RuntimeError) as e: - click.secho(str(e), fg="red") + logger.critical(str(e)) + sys.exit(1) be_logger.info("Export complete.") |