Log exceptions in event thread
authorPatrick Tasse <patrick.tasse@gmail.com>
Tue, 21 May 2013 16:58:45 +0000 (12:58 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Tue, 21 May 2013 19:15:18 +0000 (15:15 -0400)
Fix for bug 343740.

Change-Id: I554f74bdeb4b2c5de1706798633ff702d6493bbc
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13030
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>

org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/component/TmfEventThread.java

index 982b456878a234ea405f634de889d4ec42542802..d18aaba823ec8fdce0cf8c0e6bcb02099ab38130 100644 (file)
@@ -12,6 +12,7 @@
 
 package org.eclipse.linuxtools.internal.tmf.core.component;
 
+import org.eclipse.linuxtools.internal.tmf.core.Activator;
 import org.eclipse.linuxtools.internal.tmf.core.TmfCoreTracer;
 import org.eclipse.linuxtools.tmf.core.component.ITmfDataProvider;
 import org.eclipse.linuxtools.tmf.core.component.TmfDataProvider;
@@ -200,6 +201,7 @@ public class TmfEventThread implements Runnable {
             }
 
         } catch (Exception e) {
+            Activator.logError("Error in " + fProvider.getName() + " handling " + fRequest, e); //$NON-NLS-1$ //$NON-NLS-2$
             fRequest.fail();
         }
 
This page took 0.025863 seconds and 5 git commands to generate.