summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 29f9cb7ef..0773363dd 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -10,9 +10,9 @@
#include "xml/node-event-vector.h"
#include "sp-object.h"
#include "attributes.h"
-
+#include "message-stack.h"
#include "desktop.h"
-
+#include "inkscape.h"
#include "document.h"
#include <glibmm/i18n.h>
@@ -138,7 +138,9 @@ Effect::doEffect (NArtBpath * path_in)
}
catch (std::exception e) {
g_warning("An exception occurred during execution of an LPE - %s", e.what());
- // return here
+ SP_ACTIVE_DESKTOP->messageStack()->flash( Inkscape::WARNING_MESSAGE,
+ _("An exception occurred during execution of a Path Effect.") );
+
NArtBpath *path_out;
unsigned ret = 0;