Skip to contentSkip to conversation

bitbake: remove stack trace depth limitation

PATCH New Bogdan Marinescu 1 participant 1 message Apr 23, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: remove stack trace depth limitation

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.

---
 bitbake/bin/bitbake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/bin/bitbake +1 -1
index 96d613e..e8064ec 100755
@@ -276,6 +276,6 @@ if __name__ == "__main__":
     except Exception:
         ret = 1
         import traceback
-        traceback.print_exc(5)
+        traceback.print_exc()
     sys.exit(ret)
 
Signature · 1 line
1.7.10.4