aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-09-04 13:58:47 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-09-04 13:58:48 -0700
commit8f569b2594013c3f67c82d989bddbf5b3ada5d01 (patch)
tree6dba96c25a54f209bb7febfb325de82979d512de
parent58930b64f71191ff3e60ce635d9ad462b7cae2a2 (diff)
parentcf254cc969eb5c141bf9de47c0fb60b52b0e5730 (diff)
downloadsdk-8f569b2594013c3f67c82d989bddbf5b3ada5d01.tar.gz
Merge "Suppress errors for missing markers"
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/BaseClasspathContainerInitializer.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/BaseClasspathContainerInitializer.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/BaseClasspathContainerInitializer.java
index ebcf9e302..d19b10750 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/BaseClasspathContainerInitializer.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/BaseClasspathContainerInitializer.java
@@ -67,7 +67,10 @@ abstract class BaseClasspathContainerInitializer extends ClasspathContainerIniti
fmessage, IMarker.SEVERITY_ERROR,
IMarker.PRIORITY_HIGH);
} catch (CoreException e2) {
- return e2.getStatus();
+ AdtPlugin.log(e2, null);
+ // Don't return e2.getStatus(); the job control will then produce
+ // a popup with this error, which isn't very interesting for the
+ // user.
}
return Status.OK_STATUS;
@@ -97,7 +100,7 @@ abstract class BaseClasspathContainerInitializer extends ClasspathContainerIniti
IResource.DEPTH_INFINITE);
}
} catch (CoreException e2) {
- return e2.getStatus();
+ AdtPlugin.log(e2, null);
}
return Status.OK_STATUS;