From dc74cfdc90a00d7225a0533c70a7094216e74fb5 Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Sat, 24 Sep 2011 13:43:24 +0200 Subject: Errors.m: Don't try to print the stack This often leads to unmanageable output. --- Tools/MathematicaMisc/Errors.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Tools/MathematicaMisc/Errors.m') diff --git a/Tools/MathematicaMisc/Errors.m b/Tools/MathematicaMisc/Errors.m index 9ccb104..4de9a65 100644 --- a/Tools/MathematicaMisc/Errors.m +++ b/Tools/MathematicaMisc/Errors.m @@ -50,7 +50,6 @@ PrintError[err_] := If[Head[err] === KrancError, Module[{}, objs = err[[1]]; - stack = err[[2]]; Map[PrintStructure, objs]; (* Print["Error stack:"]; @@ -63,7 +62,7 @@ ThrowError[objects__] := Module[{s = Stack[_], s2}, s2 = removeBits[s]; - Throw[KrancError[{objects}, s2], KrancError]]; + Throw[KrancError[{objects}(*,s2*)], KrancError]]; VerifyString[s_] := -- cgit v1.2.3