Index: sdk/lib/_internal/compiler/samples/leap/leap_server.dart |
diff --git a/sdk/lib/_internal/compiler/samples/leap/leap_server.dart b/sdk/lib/_internal/compiler/samples/leap/leap_server.dart |
index fd46a37bd2d7e1c099ad515aa3d8f7b695281658..31aaa55192e7829c72b072a36316dbf441f8fb45 100644 |
--- a/sdk/lib/_internal/compiler/samples/leap/leap_server.dart |
+++ b/sdk/lib/_internal/compiler/samples/leap/leap_server.dart |
@@ -71,7 +71,7 @@ class Conversation { |
} |
static onError(error) { |
- if (error is HttpParserException) { |
+ if (error is HttpException) { |
print('Error: ${error.message}'); |
} else { |
print('Error: ${error}'); |