diff options
-rw-r--r-- | buildstream/_frontend/app.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/_frontend/app.py b/buildstream/_frontend/app.py index c8f1f435d..5fae0307b 100644 --- a/buildstream/_frontend/app.py +++ b/buildstream/_frontend/app.py @@ -270,6 +270,10 @@ class App(): # Exit with the error self._error_exit(e) + except RecursionError: + click.echo("RecursionError: Depency depth is too large. Maximum recursion depth exceeded.", + err=True) + sys.exit(-1) else: # No exceptions occurred, print session time and summary |