You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/02/04 08:20:52 UTC

[buildstream] 22/33: TEMP: breakpoint on recursion error

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch aevri/picklable_jobs
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit a735087f2d019246bdbec1310822dac7f3dc9775
Author: Angelos Evripiotis <je...@bloomberg.net>
AuthorDate: Wed Apr 10 12:50:20 2019 +0100

    TEMP: breakpoint on recursion error
---
 src/buildstream/_frontend/app.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/buildstream/_frontend/app.py b/src/buildstream/_frontend/app.py
index 12cfdb2..9d57837 100644
--- a/src/buildstream/_frontend/app.py
+++ b/src/buildstream/_frontend/app.py
@@ -281,7 +281,8 @@ class App():
 
             # Exit with the error
             self._error_exit(e)
-        except RecursionError:
+        except RecursionError as e:
+            breakpoint()
             click.echo("RecursionError: Dependency depth is too large. Maximum recursion depth exceeded.",
                        err=True)
             sys.exit(-1)