Skip to content

Commit 0ba204b

Browse files
committed
fix cov
1 parent b4f6efc commit 0ba204b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flutter_news_example/lib/categories/bloc/categories_state.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CategoriesState extends Equatable {
2828
return categories
2929
?.firstWhere((category) => category.id == categoryId)
3030
.name;
31-
} on Exception catch (_) {
31+
} on Object catch (_) {
3232
return null;
3333
}
3434
}

0 commit comments

Comments
 (0)