Content-Length: 306137 | pFad | http://github.com/flutter/flutter/issues/93814

A5 Flutter should exit more gracefully when network is unavailable · Issue #93814 · flutter/flutter · GitHub
Skip to content

Flutter should exit more gracefully when network is unavailable #93814

@timsneath

Description

@timsneath

Steps to Reproduce

Run flutter upgrade from a disconnected machine:

[C:\Program Files\Microsoft Visual Studio\2022\Community] flutter upgrade
ProcessException: Process exited abnormally:
ssh: Could not resolve hostname github.com: No such host is known.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
  Command: git fetch --tags

It would be preferable if Flutter interpreted the exit error code and displayed a message that had fewer distractions (e.g. questioning access rights, referring to github (some users may not even understand why github is involved in an upgrade), running git fetch --tags).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: qualityA truly polished experiencefound in release: 2.8Found to occur in 2.8found in release: 2.9Found to occur in 2.9has reproducible stepsThe issue has been confirmed reproducible and is ready to work onteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/flutter/flutter/issues/93814

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy