| Index: runtime/bin/vmservice/running_isolates.dart
|
| diff --git a/runtime/bin/vmservice/running_isolates.dart b/runtime/bin/vmservice/running_isolates.dart
|
| index 0cfa02f3048542f47d300a39124075b14c240378..9b25a79bf760746cef6ea1d63081252bf82f0740 100644
|
| --- a/runtime/bin/vmservice/running_isolates.dart
|
| +++ b/runtime/bin/vmservice/running_isolates.dart
|
| @@ -40,10 +40,12 @@ class RunningIsolates implements ServiceRequestRouter {
|
|
|
| Future route(ServiceRequest request) {
|
| if (request.pathSegments.length == 0) {
|
| - return null;
|
| + request.setErrorResponse('No route for: $path');
|
| + return new Future.value(request);
|
| }
|
| if (request.pathSegments[0] != 'isolates') {
|
| - return null;
|
| + request.setErrorResponse('No route for: $path');
|
| + return new Future.value(request);
|
| }
|
| if (request.pathSegments.length == 1) {
|
| // Requesting list of running isolates.
|
|
|