Index: runtime/observatory/lib/src/app/location_manager.dart |
diff --git a/runtime/observatory/lib/src/app/location_manager.dart b/runtime/observatory/lib/src/app/location_manager.dart |
index 2e7260d730b9a09d2bcfe38bad482471a564bc4e..38dd94cbfdffed22287bc8e8b60026b28216cc4d 100644 |
--- a/runtime/observatory/lib/src/app/location_manager.dart |
+++ b/runtime/observatory/lib/src/app/location_manager.dart |
@@ -90,7 +90,7 @@ class LocationManager { |
/// Notify the current page that something has changed. |
_visit() { |
- runZoned(() => _app._visit(_uri, internalArguments), onError: (e, st) { |
+ Chain.capture(() => _app._visit(_uri, internalArguments), onError: (e, st) { |
if (e is IsolateNotFound) { |
var newPath = ((_app.vm == null || _app.vm.isDisconnected) |
? '/vm-connect' |