X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2FmodelBrowser%2Fhandlers%2FStandardPasteHandler.java;h=51140988bcd505220271becb41c3f7082c86f1f4;hp=f86c3301c88bbe99c99519491dc678e86b7d6007;hb=96bb7ef9cbe42d82eb58306;hpb=ae5bb63c5c88f6569518fed2a24df86fbd0570ff diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/handlers/StandardPasteHandler.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/handlers/StandardPasteHandler.java index f86c3301c..51140988b 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/handlers/StandardPasteHandler.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/handlers/StandardPasteHandler.java @@ -98,8 +98,7 @@ public class StandardPasteHandler extends AbstractHandler implements IHandler { try { throw new InvocationTargetException(e); } catch (InvocationTargetException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); + e1.getCause().printStackTrace(); } e.printStackTrace(); }