diff --git a/zappa/cli.py b/zappa/cli.py index b8f2abf4b..5cd4147b4 100755 --- a/zappa/cli.py +++ b/zappa/cli.py @@ -936,6 +936,10 @@ def update(self, source_zip=None, no_upload=False, docker_image_uri=None): except botocore.exceptions.BotoCoreError as e: click.echo(click.style(type(e).__name__, fg="red") + ": " + e.args[0]) sys.exit(-1) + # https://github.com/zappa/Zappa/issues/1313 + except botocore.exceptions.ClientError as e: + click.echo(click.style(type(e).__name__, fg="red") + ": " + e.args[0]) + sys.exit(-1) except Exception: click.echo( click.style("Warning!", fg="red")