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;
|
_loading = true;
|
||||||
});
|
});
|
||||||
_data = await widget.fetchData();
|
_data = await widget.fetchData();
|
||||||
// } catch (err) {
|
} catch (err) {
|
||||||
// _error = err.toString();
|
_error = err.toString();
|
||||||
// throw err;
|
throw err;
|
||||||
} finally {
|
} finally {
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
Loading…
Reference in New Issue
Block a user