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

Submitted by Bogdan Marinescu on April 23, 2013, 1:43 p.m.

Details

Message ID 1366724625-6815-1-git-send-email-bogdan.a.marinescu@intel.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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)