• 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
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...