aboutsummaryrefslogtreecommitdiff
path: root/Tools/MathematicaMisc
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2011-09-24 13:43:24 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2011-09-24 13:43:24 +0200
commitdc74cfdc90a00d7225a0533c70a7094216e74fb5 (patch)
tree92f93917dc2c39d0ba82fb03444b187df9df38f6 /Tools/MathematicaMisc
parent5ab940c6ec4a4a7c7ab05a123c12173c4a03493b (diff)
Errors.m: Don't try to print the stack
This often leads to unmanageable output.
Diffstat (limited to 'Tools/MathematicaMisc')
-rw-r--r--Tools/MathematicaMisc/Errors.m3
1 files changed, 1 insertions, 2 deletions
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_] :=