fix: CloudService silent error → logging, Status zeigt Token-Fehler an
This commit is contained in:
@@ -98,7 +98,10 @@ class CloudService {
|
||||
.get(Uri.parse('$_base$path'), headers: _authHeader)
|
||||
.timeout(const Duration(seconds: 10));
|
||||
if (r.statusCode == 200) return jsonDecode(r.body);
|
||||
} catch (_) {}
|
||||
MeloLogger().fehler('cloud_get', '${r.statusCode} $path');
|
||||
} catch (e) {
|
||||
MeloLogger().fehler('cloud_get_error', '$path: $e');
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user