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

Unified Diff: tools/gardening/bin/summary.dart

Issue 2999433002: Fix `bot summary` when URIs couldn't be read. (Closed)
Patch Set: Created 3 years, 4 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 | tools/gardening/lib/src/bot.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gardening/bin/summary.dart
diff --git a/tools/gardening/bin/summary.dart b/tools/gardening/bin/summary.dart
index 6febcddb8dad3b2a78e9aa7db6ef7fd4a1541121..640f6a62632d4e7611ab04781ab06eed9ebc0c73 100644
--- a/tools/gardening/bin/summary.dart
+++ b/tools/gardening/bin/summary.dart
@@ -26,7 +26,7 @@ main(List<String> args) async {
var recentUris = bot.mostRecentUris;
var results = await bot.readResults(recentUris);
results.forEach((result) {
- if (result.hasFailures) {
+ if (result != null && result.hasFailures) {
print("${result.buildUri} has failures.");
}
});
« no previous file with comments | « no previous file | tools/gardening/lib/src/bot.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698