fix(studio): show real download error, not 'hub not reachable'

friendlyError now pattern-matches module-download failures ('download
failed: ...') and renders a clear, copyable headline + the URL/status
detail, instead of letting the gRPC-Unavailable default show the generic
'hub not reachable' banner. EN+DE l10n.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-22 00:50:21 +02:00
parent c9fa068991
commit 657e68efee
6 changed files with 43 additions and 0 deletions

View file

@ -98,6 +98,18 @@ abstract class AppLocalizations {
Locale('en'),
];
/// No description provided for @errModuleDownload.
///
/// In en, this message translates to:
/// **'Module download failed'**
String get errModuleDownload;
/// No description provided for @errModuleDownloadHint.
///
/// In en, this message translates to:
/// **'The module\'s bundle URL is unreachable (status code below). The hub is running fine — fix the URL/host or choose another store.'**
String get errModuleDownloadHint;
/// No description provided for @guidedSetupTitle.
///
/// In en, this message translates to: