Blob Blame History Raw
From 893b81cef9e397a068dbeea5841ca8e8cd6b2fb4 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Thu, 16 Jan 2014 21:01:28 +0100
Subject: [PATCH 31/39] Hook the stack trace analysis tool in post-create

Related to #29
Related to rhbz#1054737
---
 etc/java_event.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/etc/java_event.conf b/etc/java_event.conf
index 4610f0c..302cac0 100644
--- a/etc/java_event.conf
+++ b/etc/java_event.conf
@@ -13,8 +13,10 @@ EVENT=post-create type=Java
             printf '%s' "`sha1sum < "backtrace" | cut -d" " -f1`" > "uuid"
             cp uuid duphash
         else
-            echo "Cannot create 'duphas' nor 'uuid' because of missing 'backtrace' file"
+            echo "Cannot create neither 'duphas' nor 'uuid' because of missing 'backtrace' file"
+            exit 1
         fi
+        abrt-action-analyze-java -d $DUMP_DIR || exit 1
 
 # Create a bug in Bugzilla
 EVENT=report_Bugzilla type=Java
-- 
1.8.3.1