Bug 348231 - client progress monitor not updated when IndexerThread crashes
diff --git a/rdt/org.eclipse.ptp.rdt.core/miners/org/eclipse/ptp/internal/rdt/core/miners/IndexerThread.java b/rdt/org.eclipse.ptp.rdt.core/miners/org/eclipse/ptp/internal/rdt/core/miners/IndexerThread.java
index 11cbd68..4942467 100644
--- a/rdt/org.eclipse.ptp.rdt.core/miners/org/eclipse/ptp/internal/rdt/core/miners/IndexerThread.java
+++ b/rdt/org.eclipse.ptp.rdt.core/miners/org/eclipse/ptp/internal/rdt/core/miners/IndexerThread.java
@@ -72,12 +72,14 @@
} catch (IOException e) {
UniversalServerUtilities.logError(LOG_TAG, "I/O Exception while reindexing", e, miner._dataStore); //$NON-NLS-1$
+ } catch (Exception e) {
+ UniversalServerUtilities.logError(LOG_TAG, "Exception while reindexing", e, miner._dataStore); //$NON-NLS-1$
} catch (java.lang.VirtualMachineError e) {
// Kill the JVM in the event of a VirtualMachineError
System.exit(-1);
- }
-
- CDTMiner.statusDone(status);
+ } finally {
+ CDTMiner.statusDone(status);
+ }
}