diff --git a/tools/matrix b/tools/matrix
index 5815eb7d999b6e5b97e485c0428f19822aaea281..9d822d869f1890c30013f026e0eddb92e9b37b4f 100755
--- a/tools/matrix
+++ b/tools/matrix
@@ -89,7 +89,7 @@ class MatrixImportBenchmark(BenchmarkRunner):
                 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()