[Lldb-commits] [lldb] r122985 - /lldb/trunk/test/help/TestHelp.py
Johnny Chen
johnny.chen at apple.com
Thu Jan 6 16:17:44 PST 2011
Author: johnny
Date: Thu Jan 6 18:17:44 2011
New Revision: 122985
URL: http://llvm.org/viewvc/llvm-project?rev=122985&view=rev
Log:
Print out a more meaningful exception message when/if CFBundleVersion matching failed.
Modified:
lldb/trunk/test/help/TestHelp.py
Modified: lldb/trunk/test/help/TestHelp.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/help/TestHelp.py?rev=122985&r1=122984&r2=122985&view=diff
==============================================================================
--- lldb/trunk/test/help/TestHelp.py (original)
+++ lldb/trunk/test/help/TestHelp.py Thu Jan 6 18:17:44 2011
@@ -45,7 +45,8 @@
except:
# Just fallthrough...
- print "Unexpected error:", sys.exc_info()[0]
+ import traceback
+ traceback.print_exc()
pass
# Use None to signify that we are not able to grok the version number.
More information about the lldb-commits
mailing list