File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
cached_network_image_web/lib
cached_network_image/lib/src/image_provider Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ class ImageLoader implements platform.ImageLoader {
125
125
yield decoded;
126
126
}
127
127
}
128
- } on Object catch (e) {
128
+ } on Object {
129
129
// Depending on where the exception was thrown, the image cache may not
130
130
// have had a chance to track the key in the cache at all.
131
131
// Schedule a microtask to give the cache a chance to add the key.
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ class ImageLoader implements platform.ImageLoader {
137
137
yield decoded;
138
138
}
139
139
}
140
- } on Object catch (e) {
140
+ } on Object {
141
141
// Depending on where the exception was thrown, the image cache may not
142
142
// have had a chance to track the key in the cache at all.
143
143
// Schedule a microtask to give the cache a chance to add the key.
You can’t perform that action at this time.
0 commit comments