From 3596bc1ed8b2e35aa77a736b7ae186869b215156 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sun, 22 Jun 2008 22:12:38 +0000 Subject: LPE Spiro: don't catch all exceptions, only the ContinuityError (bzr r6019) --- src/live_effects/lpe-spiro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/live_effects/lpe-spiro.cpp b/src/live_effects/lpe-spiro.cpp index 6c3b71af4..0ffe6a7f4 100644 --- a/src/live_effects/lpe-spiro.cpp +++ b/src/live_effects/lpe-spiro.cpp @@ -207,7 +207,7 @@ LPESpiro::doEffect(SPCurve * curve) try { curve->get_pathvector() * Geom::identity(); // tests for continuity, this makes LPE Spiro slower of course :-( } - catch (std::exception & e) { + catch (Geom::ContinuityError & e) { g_warning("Exception during LPE Spiro execution. \n %s", e.what()); SP_ACTIVE_DESKTOP->messageStack()->flash( Inkscape::WARNING_MESSAGE, _("An exception occurred during execution of the Spiro Path Effect.") ); -- cgit v1.2.3