path: root/scripts/cleanup-workdir
diff options
authorRichard Purdie <>2016-03-31 11:46:38 (GMT)
committerRichard Purdie <>2016-03-31 22:01:36 (GMT)
commitc37d5426b1872d29347c1fecd9bda7b455fa15e0 (patch)
tree6a8732457ba5027da861ad1bcd0a35a4ad2ebd74 /scripts/cleanup-workdir
parent8049f25e9cf1cc9277851fb8ce3ed366588975da (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 OE-Core rev: 6069175e9bb97ace100bb5e99b6104d33163a3a2) Signed-off-by: Richard Purdie <>
Diffstat (limited to 'scripts/cleanup-workdir')
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir
index a7f5a3a..01ebd52 100755
--- a/scripts/cleanup-workdir
+++ b/scripts/cleanup-workdir
@@ -194,5 +194,5 @@ if __name__ == '__main__':
194 except Exception: 194 except Exception:
195 ret = 2 195 ret = 2
196 import traceback 196 import traceback
197 traceback.print_exc(3) 197 traceback.print_exc()
198 sys.exit(ret) 198 sys.exit(ret)