Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: pkg/analysis_server/lib/src/context_manager.dart

Issue 1236933007: Drop try block (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/context_manager.dart
diff --git a/pkg/analysis_server/lib/src/context_manager.dart b/pkg/analysis_server/lib/src/context_manager.dart
index 40103139244b490dd0b78c55a0f3f788fabeb0a8..51c42d29c85938cbfd68b7131c3ee0b8235bf761 100644
--- a/pkg/analysis_server/lib/src/context_manager.dart
+++ b/pkg/analysis_server/lib/src/context_manager.dart
@@ -515,12 +515,8 @@ abstract class AbstractContextManager implements ContextManager {
_ContextInfo info = new _ContextInfo(
folder, pubspecFile, children, normalizedPackageRoots[folder.path]);
_contexts[folder] = info;
- try {
- var options = analysisOptionsProvider.getOptions(folder);
- processOptionsForContext(folder, options);
- } catch (_) {
- rethrow;
- }
+ var options = analysisOptionsProvider.getOptions(folder);
+ processOptionsForContext(folder, options);
info.changeSubscription = folder.changes.listen((WatchEvent event) {
_handleWatchEvent(folder, info, event);
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698