Merge change 3228 into donut
* changes: ADT: make sure to log exceptions that might happen when loading the SDK.
This commit is contained in:
@@ -987,9 +987,9 @@ public class AdtPlugin extends AbstractUIPlugin {
|
|||||||
|
|
||||||
return Status.OK_STATUS;
|
return Status.OK_STATUS;
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
log(t, "pingUsageServer failed"); //$NON-NLS-1$
|
log(t, "pingUsageServer failed"); //$NON-NLS-1$
|
||||||
return new Status(IStatus.ERROR, PLUGIN_ID,
|
return new Status(IStatus.ERROR, PLUGIN_ID,
|
||||||
"pingUsageServer failed", t);
|
"pingUsageServer failed", t); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -1096,6 +1096,11 @@ public class AdtPlugin extends AbstractUIPlugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} catch (Throwable t) {
|
||||||
|
log(t, "Unknown exception in parseSdkContent."); //$NON-NLS-1$
|
||||||
|
return new Status(IStatus.ERROR, PLUGIN_ID,
|
||||||
|
"parseSdkContent failed", t); //$NON-NLS-1$
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
mSdkIsLoading = false;
|
mSdkIsLoading = false;
|
||||||
if (monitor != null) {
|
if (monitor != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user