Repository: flutter
Issue: flutter tool crash shows long GitHub issue URL with doctor encoded (link not shortened) 
Labels: tool,P3,team-tool,triaged-tool

When the Flutter tool crashes it tried to put the long crash report URL into the [git.io](https://git.io/) link shortener.  However that service is now responding 422 Unprocessable Entity.
```
[ +233 ms] Failed to shorten GitHub template URL. Server responded with HTTP status code 422
```

[GitHub has removed the service as of January 2022.](https://github.blog/changelog/2022-01-11-git-io-no-longer-accepts-new-urls/)

This causes a really long URL to be printed during a tool crash.

</details>

<details>
  <summary>Crash output</summary>

```
Oops; flutter has exited unexpectedly: "Exception: exception".
A crash report has been written to /Users/magder/Projects/flutter/flutter_04.log.
This crash may already be reported. Check GitHub for similar crashes.
https://github.com/flutter/flutter/issues?q=is%3Aissue+Exception%3A+exception

To report your crash to the Flutter team, first read the guide to filing a bug.
https://flutter.dev/docs/resources/bug-reports

Create a new GitHub issue by pasting this link into your browser and completing the issue template. Thank you!
https://github.com/flutter/flutter/issues/new?title=%5Btool_crash%5D+_Exception&body=%23%23+Command%0A%60%60%60%0Aflutter+doctor%0A%60%60%60%0A%0A%23%23+Steps+to+Reproduce%0A1.+...%0A2.+...%0A3.+...%0A%0A%23%23+Logs%0A_Exception%0A%60%60%60%0A%230++++++DoctorCommand.runCommand+%28package%3Aflutter_tools%2Fsrc%2Fcommands%2Fdoctor.dart%3A36%3A5%29%0A%231++++++FlutterCommand.verifyThenRunCommand+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command.dart%3A1324%3A12%29%0A%3Casynchronous+suspension%3E%0A%232++++++FlutterCommand.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command.dart%3A1165%3A27%29%0A%3Casynchronous+suspension%3E%0A%233++++++AppContext.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous+suspension%3E%0A%234++++++CommandRunner.runCommand+%28package%3Aargs%2Fcommand_runner.dart%3A209%3A13%29%0A%3Casynchronous+suspension%3E%0A%235++++++FlutterCommandRunner.runCommand.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command_runner.dart%3A281%3A9%29%0A%3Casynchronous+suspension%3E%0A%236++++++AppContext.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous+suspension%3E%0A%237++++++FlutterCommandRunner.runCommand+%28package%3Aflutter_tools%2Fsrc%2Frunner%2Fflutter_command_runner.dart%3A229%3A5%29%0A%3Casynchronous+suspension%3E%0A%238++++++run.%3Canonymous+closure%3E.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Frunner.dart%3A62%3A9%29%0A%3Casynchronous+suspension%3E%0A%239++++++AppContext.run.%3Canonymous+closure%3E+%28package%3Aflutter_tools%2Fsrc%2Fbase%2Fcontext.dart%3A150%3A19%29%0A%3Casynchronous+suspension%3E%0A%2310+++++main+%28package%3Aflutter_tools%2Fexecutable.dart%3A94%3A3%29%0A%3Casynchronous+suspension%3E%0A%60%60%60%0A%60%60%60%0A%5B%E2%9C%93%5D+Flutter+%28Channel+unknown%2C+2.11.0-0.0.pre.769%2C+on+macOS+12.2.1+21D62+darwin-x64%2C+locale+en-US%29%0A++++%E2%80%A2+Flutter+version+2.11.0-0.0.pre.769+at+%2FUsers%2Fmagder%2FProjects%2Fflutter%0A++++%E2%80%A2+Upstream+repository+unknown%0A++++%E2%80%A2+Framework+revision+ae6bc73ac0+%286+minutes+ago%29%2C+2022-03-04+15%3A10%3A49+-0800%0A++++%E2%80%A2+Engine+revision+9126849d86%0A++++%E2%80%A2+Dart+version+2.17.0+%28build+2.17.0-169.0.dev%29%0A++++%E2%80%A2+DevTools+version+2.11.1%0A%0A%5B%E2%9C%93%5D+Android+toolchain+-+develop+for+Android+devices+%28Android+SDK+version+30.0.3%29%0A++++%E2%80%A2+Android+SDK+at+%2FUsers%2Fmagder%2FLibrary%2FAndroid%2Fsdk%0A++++%E2%80%A2+Platform+android-31%2C+build-tools+30.0.3%0A++++%E2%80%A2+ANDROID_SDK_ROOT+%3D+%2FUsers%2Fmagder%2FLibrary%2FAndroid%2Fsdk%0A++++%E2%80%A2+Java+binary+at%3A+%2FUsers%2Fmagder%2FLibrary%2FApplication+Support%2FJetBrains%2FToolbox%2Fapps%2FAndroidStudio%2Fch-0%2F203.7583922%2FAndroid+Studio.app%2FContents%2Fjre%2FContents%2FHome%2Fbin%2Fjava%0A++++%E2%80%A2+Java+version+OpenJDK+Runtime+Environment+%28build+11.0.10%2B0-b96-7281165%29%0A++++%E2%80%A2+All+Android+licenses+accepted.%0A%0A%5B%E2%9C%93%5D+Xcode+-+develop+for+iOS+and+macOS+%28Xcode+13.3%29%0A++++%E2%80%A2+Xcode+at+%2FUsers%2Fmagder%2FApplications%2FXcode-13-3_beta3.app%2FContents%2FDeveloper%0A++++%E2%80%A2+CocoaPods+version+1.11.2%0A%0A%5B%E2%9C%93%5D+Chrome+-+develop+for+the+web%0A++++%E2%80%A2+Chrome+at+%2FApplications%2FGoogle+Chrome.app%2FContents%2FMacOS%2FGoogle+Chrome%0A%0A%5B%E2%9C%93%5D+Android+Studio+%28version+2020.3%29%0A++++%E2%80%A2+Android+Studio+at+%2FApplications%2FAndroid+Studio+with+Blaze.app%2FContents%0A++++%E2%80%A2+Flutter+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F9212-flutter%0A++++%E2%80%A2+Dart+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F6351-dart%0A++++%E2%80%A2+Java+version+OpenJDK+Runtime+Environment+%28build+11.0.10%2B0-b96-7281165%29%0A%0A%5B%E2%9C%93%5D+Android+Studio+%28version+4.2%29%0A++++%E2%80%A2+Android+Studio+at+%2FApplications%2FAndroid+Studio.app%2FContents%0A++++%E2%80%A2+Flutter+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F9212-flutter%0A++++%E2%80%A2+Dart+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F6351-dart%0A++++%E2%80%A2+Java+version+OpenJDK+Runtime+Environment+%28build+11.0.8%2B10-b944.6916264%29%0A%0A%5B%E2%9C%93%5D+Android+Studio+%28version+2020.3%29%0A++++%E2%80%A2+Android+Studio+at+%2FUsers%2Fmagder%2FLibrary%2FApplication+Support%2FJetBrains%2FToolbox%2Fapps%2FAndroidStudio%2Fch-0%2F203.7583922%2FAndroid+Studio.app%2FContents%0A++++%E2%80%A2+Flutter+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F9212-flutter%0A++++%E2%80%A2+Dart+plugin+can+be+installed+from%3A%0A++++++%F0%9F%94%A8+https%3A%2F%2Fplugins.jetbrains.com%2Fplugin%2F6351-dart%0A++++%E2%80%A2+Java+version+OpenJDK+Runtime+Environment+%28build+11.0.10%2B0-b96-7281165%29%0A%0A%5B%E2%9C%93%5D+IntelliJ+IDEA+Community+Edition+%28version+2021.2.4%29%0A++++%E2%80%A2+IntelliJ+at+%2FApplications%2FIntelliJ+CE+%28stable%29.app%0A++++%E2%80%A2+Flutter+plugin+version+63.3.3%0A++++%E2%80%A2+Dart+plugin+version+212.5632%0A%0A%5B%E2%9C%93%5D+VS+Code+%28version+1.64.2%29%0A++++%E2%80%A2+VS+Code+at+%2FApplications%2FVisual+Studio+Code.app%2FContents%0A++++%E2%80%A2+Flutter+extension+version+3.34.0%0A%0A%5B%E2%9C%93%5D+Connected+device+%284+available%29%0A++++%E2%80%A2+Jenn%27s+iPhone+13+%28mobile%29+%E2%80%A2+00008110-000278523684801E+%E2%80%A2+ios++++++++++++%E2%80%A2+iOS+15.2.1+19C63%0A++++%E2%80%A2+iPad+%28mobile%29+++++++++++++%E2%80%A2+00008027-001925360106802E+%E2%80%A2+ios++++++++++++%E2%80%A2+iOS+15.0+19A344%0A++++%E2%80%A2+macOS+%28desktop%29+++++++++++%E2%80%A2+macos+++++++++++++++++++++%E2%80%A2+darwin-x64+++++%E2%80%A2+macOS+12.2.1+21D62+darwin-x64%0A++++%E2%80%A2+Chrome+%28web%29++++++++++++++%E2%80%A2+chrome++++++++++++++++++++%E2%80%A2+web-javascript+%E2%80%A2+Google+Chrome+98.0.4758.109%0A++++%21+Error%3A+iPhone+6s+is+not+connected.+Xcode+will+continue+when+iPhone+6s+is+connected.+%28code+-13%29%0A++++%21+Error%3A+iPad+is+busy%3A+Fetching+debug+symbols+for+iPad.+Xcode+will+continue+when+iPad+is+finished.+%28code+-10%29%0A%0A%5B%E2%9C%93%5D+HTTP+Host+Availability%0A++++%E2%80%A2+All+required+HTTP+hosts+are+available%0A%0A%E2%80%A2+No+issues+found%21%0A%0A%60%60%60%0A%0A%23%23+Flutter+Application+Metadata%0ANo+pubspec+in+working+directory.%0A&labels=tool%2Csevere%3A+crash
```

</details>

We can live with the long URL, or use another link shortener.