Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M Finkbeiner2012-06-05 02:07:39 +0000
committerRoberto E. Escobar2012-06-05 02:07:39 +0000
commita38a83e920c7f50443a6426550169e1a67807044 (patch)
treebc931cad4979771ff9ccd7c2ef388a4ced9bcdf4 /plugins/org.eclipse.osee.ote.ui
parent28c7e2c69d169434e1676f14b256941dfa3da6ec (diff)
downloadorg.eclipse.osee-a38a83e920c7f50443a6426550169e1a67807044.tar.gz
org.eclipse.osee-a38a83e920c7f50443a6426550169e1a67807044.tar.xz
org.eclipse.osee-a38a83e920c7f50443a6426550169e1a67807044.zip
feature[ats_19NDL]: Clean up disconnect
Diffstat (limited to 'plugins/org.eclipse.osee.ote.ui')
-rw-r--r--plugins/org.eclipse.osee.ote.ui/src/org/eclipse/osee/ote/ui/internal/TestCoreGuiPlugin.java13
1 files changed, 10 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui/src/org/eclipse/osee/ote/ui/internal/TestCoreGuiPlugin.java b/plugins/org.eclipse.osee.ote.ui/src/org/eclipse/osee/ote/ui/internal/TestCoreGuiPlugin.java
index b40bb12557..941a7e2b6f 100644
--- a/plugins/org.eclipse.osee.ote.ui/src/org/eclipse/osee/ote/ui/internal/TestCoreGuiPlugin.java
+++ b/plugins/org.eclipse.osee.ote.ui/src/org/eclipse/osee/ote/ui/internal/TestCoreGuiPlugin.java
@@ -10,11 +10,14 @@
*******************************************************************************/
package org.eclipse.osee.ote.ui.internal;
+import java.util.logging.Level;
+
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.exception.OseeExceptions;
import org.eclipse.osee.framework.core.operation.AbstractOperation;
import org.eclipse.osee.framework.core.operation.Operations;
+import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.framework.plugin.core.IWorkbenchUserService;
import org.eclipse.osee.framework.ui.plugin.workspace.SafeWorkspaceAccess;
import org.eclipse.osee.ote.ui.IOteConsoleService;
@@ -116,9 +119,13 @@ public class TestCoreGuiPlugin implements BundleActivator {
@Override
protected void doWork(IProgressMonitor monitor) throws Exception {
- if (getWorkbenchUserService() != null) {
- getWorkbenchUserService().getUser();
- }
+ try{
+ if (getWorkbenchUserService() != null) {
+ getWorkbenchUserService().getUser();
+ }
+ } catch (Throwable th){
+ OseeLog.log(getClass(), Level.WARNING, "Unable to connect to OSEE Data Store, user information will default to system properties.", th);
+ }
}
}, false);
}

Back to the top