Patchwork [bitbake-devel] bitbake: remove stack trace depth limitation

login
register
mail settings
Submitter Bogdan Marinescu
Date April 23, 2013, 1:43 p.m.
Message ID <1366724625-6815-1-git-send-email-bogdan.a.marinescu@intel.com>
Download mbox | patch
Permalink /patch/48695/
State New
Headers show

Comments

Bogdan Marinescu - April 23, 2013, 1:43 p.m.
In case of an error in bitbake, the stack trace is limited to 5
items. This is an endless source of confusion and it makes bugs
reports impractical, since a full stack trace can't be included
in the bug report. This patch simply removes the depth limit.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
---
 bitbake/bin/bitbake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 96d613e..e8064ec 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -276,6 +276,6 @@  if __name__ == "__main__":
     except Exception:
         ret = 1
         import traceback
-        traceback.print_exc(5)
+        traceback.print_exc()
     sys.exit(ret)