[Neo-report] r2454 gregory - /trunk/tools/matrix
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Nov 10 11:34:03 CET 2010
Author: gregory
Date: Wed Nov 10 11:34:02 2010
New Revision: 2454
Log:
Use format_exc instead of format_stack to report the right exception.
Modified:
trunk/tools/matrix
Modified: trunk/tools/matrix
==============================================================================
--- trunk/tools/matrix [iso-8859-1] (original)
+++ trunk/tools/matrix [iso-8859-1] Wed Nov 10 11:34:02 2010
@@ -89,7 +89,7 @@ class MatrixImportBenchmark(BenchmarkRun
traceback.print_exc()
self.error_log += "Import with m=%s, s=%s, r=%s, p=%s:" % (
masters, storages, replicas, partitions)
- self.error_log += "\n%s\n" % ''.join(traceback.format_stack())
+ self.error_log += "\n%s\n" % ''.join(traceback.format_exc())
return None
finally:
neo.stop()
More information about the Neo-report
mailing list