summaryrefslogtreecommitdiffstats
path: root/bin/bitbake-prserv
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-31 12:47:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-31 12:57:58 +0100
commit5549748a200b5df259fc7352477ec59471b87b2f (patch)
treefd1e7389c17b6dd5bcb762c554b0650fbdc9b673 /bin/bitbake-prserv
parent2b1cb21d18fb18399e682021b866babeced9a4aa (diff)
downloadbitbake-contrib-5549748a200b5df259fc7352477ec59471b87b2f.tar.gz
bitbake: 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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake-prserv')
-rwxr-xr-xbin/bitbake-prserv2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bitbake-prserv b/bin/bitbake-prserv
index a8d7acb4c..03821446b 100755
--- a/bin/bitbake-prserv
+++ b/bin/bitbake-prserv
@@ -50,6 +50,6 @@ if __name__ == "__main__":
except Exception:
ret = 1
import traceback
- traceback.print_exc(5)
+ traceback.print_exc()
sys.exit(ret)