• Andrew Davies's avatar
    [frdp][connection] Exception checks in _getDartVm (#22386) · 1c2f478e
    Andrew Davies authored
    Through some integration testing checks, it looks like it's possible
    that connecting to a new instance of the Dart VM may fail even after the
    Dart VM instance has been discovered.
    
    This means that _getDartVm should be checked in more than just one
    place.  This changes the function to return a null value in the event of
    a 'well-known' exception (`HttpException` or `TimeoutException`
    specifically).
    
    As a result, code now calling _getDartVm checks for null and handles it
    as appropriate, and the DartVm RPC calls are all updated with
    consistent timeout params.
    1c2f478e
Name
Last commit
Last update
..
flutter Loading commit data...
flutter_driver Loading commit data...
flutter_goldens Loading commit data...
flutter_goldens_client Loading commit data...
flutter_localizations Loading commit data...
flutter_test Loading commit data...
flutter_tools Loading commit data...
fuchsia_remote_debug_protocol Loading commit data...
analysis_options.yaml Loading commit data...