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 {
125125 yield decoded;
126126 }
127127 }
128- } on Object catch (e) {
128+ } on Object {
129129 // Depending on where the exception was thrown, the image cache may not
130130 // have had a chance to track the key in the cache at all.
131131 // 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 {
137137 yield decoded;
138138 }
139139 }
140- } on Object catch (e) {
140+ } on Object {
141141 // Depending on where the exception was thrown, the image cache may not
142142 // have had a chance to track the key in the cache at all.
143143 // 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