Agustin Benito Bethencourt pushed to branch master at BuildStream / buildstream
Commits:
1 changed file:
Changes:
... | ... | @@ -270,6 +270,10 @@ class App(): |
270 | 270 |
|
271 | 271 |
# Exit with the error
|
272 | 272 |
self._error_exit(e)
|
273 |
+ except RecursionError:
|
|
274 |
+ click.echo("RecursionError: Depency depth is too large. Maximum recursion depth exceeded.",
|
|
275 |
+ err=True)
|
|
276 |
+ sys.exit(-1)
|
|
273 | 277 |
|
274 | 278 |
else:
|
275 | 279 |
# No exceptions occurred, print session time and summary
|