handle exceptions by throwing, not with results

This commit is contained in:
2025-10-25 21:02:22 +02:00
parent d855ca4ea4
commit 1bcc5df822
5 changed files with 66 additions and 180 deletions

View File

@@ -106,6 +106,7 @@ class _MyHomePageState extends State<MyHomePage> {
},
);
} else if (snapshot.hasError) {
log.warning("Error loading sheets:", snapshot.error);
return Center(
child: Text(
style: Theme.of(