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: lib/src/git.dart

Issue 1267853002: Add verbosity levels for warnings and errors. (Closed) Base URL: https://github.com/dart-lang/pub.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 | « lib/src/command_runner.dart ('k') | lib/src/log.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/git.dart
diff --git a/lib/src/git.dart b/lib/src/git.dart
index f2c2c226416453c4ea502e343738c683a7661d71..087a995c70440671e2325ccc0b5ebb48e0ce96ac 100644
--- a/lib/src/git.dart
+++ b/lib/src/git.dart
@@ -117,7 +117,7 @@ bool _tryGitCommand(String command) {
} on ProcessException catch (error, stackTrace) {
var chain = new Chain.forTrace(stackTrace);
// If the process failed, they probably don't have it.
- log.message('Git command is not "$command": $error\n$chain');
+ log.error('Git command is not "$command": $error\n$chain');
return false;
}
}
« no previous file with comments | « lib/src/command_runner.dart ('k') | lib/src/log.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698