Blame SOURCES/0031-Hook-the-stack-trace-analysis-tool-in-post-create.patch

23d3c3
From 893b81cef9e397a068dbeea5841ca8e8cd6b2fb4 Mon Sep 17 00:00:00 2001
23d3c3
From: Jakub Filak <jfilak@redhat.com>
23d3c3
Date: Thu, 16 Jan 2014 21:01:28 +0100
23d3c3
Subject: [PATCH 31/39] Hook the stack trace analysis tool in post-create
23d3c3
23d3c3
Related to #29
23d3c3
Related to rhbz#1054737
23d3c3
---
23d3c3
 etc/java_event.conf | 4 +++-
23d3c3
 1 file changed, 3 insertions(+), 1 deletion(-)
23d3c3
23d3c3
diff --git a/etc/java_event.conf b/etc/java_event.conf
23d3c3
index 4610f0c..302cac0 100644
23d3c3
--- a/etc/java_event.conf
23d3c3
+++ b/etc/java_event.conf
23d3c3
@@ -13,8 +13,10 @@ EVENT=post-create type=Java
23d3c3
             printf '%s' "`sha1sum < "backtrace" | cut -d" " -f1`" > "uuid"
23d3c3
             cp uuid duphash
23d3c3
         else
23d3c3
-            echo "Cannot create 'duphas' nor 'uuid' because of missing 'backtrace' file"
23d3c3
+            echo "Cannot create neither 'duphas' nor 'uuid' because of missing 'backtrace' file"
23d3c3
+            exit 1
23d3c3
         fi
23d3c3
+        abrt-action-analyze-java -d $DUMP_DIR || exit 1
23d3c3
 
23d3c3
 # Create a bug in Bugzilla
23d3c3
 EVENT=report_Bugzilla type=Java
23d3c3
-- 
23d3c3
1.8.3.1
23d3c3