Index: pkg/analyzer/lib/src/task/driver.dart |
diff --git a/pkg/analyzer/lib/src/task/driver.dart b/pkg/analyzer/lib/src/task/driver.dart |
index 042c7746da7ff350e801ecd60e4606483f3a60aa..ff5767db903edd1f5eabbf0ca856578b1fcb41a4 100644 |
--- a/pkg/analyzer/lib/src/task/driver.dart |
+++ b/pkg/analyzer/lib/src/task/driver.dart |
@@ -157,13 +157,13 @@ class AnalysisDriver { |
state == CacheState.IN_PROCESS) { |
return null; |
} |
+ TaskDescriptor taskDescriptor = taskManager.findTask(target, result); |
try { |
- TaskDescriptor taskDescriptor = taskManager.findTask(target, result); |
WorkItem workItem = new WorkItem(context, target, taskDescriptor, result); |
return new WorkOrder(taskManager, workItem); |
} catch (exception, stackTrace) { |
throw new AnalysisException( |
- 'Could not create work order (target = $target; result = $result)', |
+ 'Could not create work order (target = $target; taskDescriptor = $taskDescriptor; result = $result)', |
new CaughtException(exception, stackTrace)); |
} |
} |