mirror of
https://github.com/git-touch/git-touch
synced 2024-12-15 17:59:35 +01:00
fix: refresh scaffold catch error
This commit is contained in:
parent
a021f755f3
commit
f5ad1acd25
@ -47,9 +47,9 @@ class _RefreshStatefulScaffoldState<T>
|
||||
_loading = true;
|
||||
});
|
||||
_data = await widget.fetchData();
|
||||
// } catch (err) {
|
||||
// _error = err.toString();
|
||||
// throw err;
|
||||
} catch (err) {
|
||||
_error = err.toString();
|
||||
throw err;
|
||||
} finally {
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
|
Loading…
Reference in New Issue
Block a user