path: root/scripts/yocto-kernel
diff options
authorRichard Purdie <>2016-03-31 11:46:38 (GMT)
committerRichard Purdie <>2016-03-31 22:01:38 (GMT)
commit51217057d12e375bada074daf6ab6c6112320c3e (patch)
tree50388ae282c0660076ea8a3cb50e3f61d2741c7b /scripts/yocto-kernel
parent31681346a70d03e94ba35344ce12205b5269f451 (diff)
scripts, lib: Don't limit traceback lengths to arbitrary values
There appears to have been a lot of copy and pasting of the code which prints tracebacks upon failure and limits the stack trace to 5 entries. This obscures the real error and is very confusing to the user it look me an age to work out why some tracebacks weren't useful. This patch removes the limit, making tracebacks much more useful for debugging. [YOCTO #9230] (From meta-yocto rev: 2f00b2605353b9757a40636870ad20ee70bcab9d) Signed-off-by: Richard Purdie <>
Diffstat (limited to 'scripts/yocto-kernel')
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/yocto-kernel b/scripts/yocto-kernel
index c9b2821..daaad07 100755
--- a/scripts/yocto-kernel
+++ b/scripts/yocto-kernel
@@ -395,5 +395,5 @@ if __name__ == "__main__":
395 except Exception: 395 except Exception:
396 ret = 1 396 ret = 1
397 import traceback 397 import traceback
398 traceback.print_exc(5) 398 traceback.print_exc()
399 sys.exit(ret) 399 sys.exit(ret)