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

Unified Diff: dart/tools/testing/dart/browser_controller.dart

Issue 23618020: Fixed type error in browser_controller: DebugLogger.error() takes a string (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/testing/dart/browser_controller.dart
diff --git a/dart/tools/testing/dart/browser_controller.dart b/dart/tools/testing/dart/browser_controller.dart
index 07afc5a7b1494eaf5c5ad875433ddb329bad4dae..a9992d97e00ea106c4f5fc0b5e48fbd36af7eb3e 100644
--- a/dart/tools/testing/dart/browser_controller.dart
+++ b/dart/tools/testing/dart/browser_controller.dart
@@ -944,7 +944,7 @@ class BrowserTestingServer {
request.response.close();
testDoneCallBack(browserId, back, testId);
// TODO(ricow): We should do something smart if we get an error here.
- }, onError: (error) { DebugLogger.error(error); });
+ }, onError: (error) { DebugLogger.error("$error"); });
}
void handleStarted(HttpRequest request, String browserId, var testId) {
@@ -958,7 +958,7 @@ class BrowserTestingServer {
String back = buffer.toString();
request.response.close();
testStartedCallBack(browserId, back, testId);
- }, onError: (error) { DebugLogger.error(error); });
+ }, onError: (error) { DebugLogger.error("$error"); });
}
String getNextTest(String browserId) {
« 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