Skip to content

Commit

Permalink
Format unused_catch_stack
Browse files Browse the repository at this point in the history
  • Loading branch information
TaYaKi71751 committed Dec 30, 2023
1 parent a7204cb commit 7d2111b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/component/eh/eh_headers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class EHSession {
if (host.contains('e-hentai')) ehashs = ehEhashs;
ehash = foundEhash;
}
} catch (e, st) {}
} catch (e) {}
});
} catch (_) {}
if (ehash != null) {
Expand Down
2 changes: 1 addition & 1 deletion lib/model/article_info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ArticleInfo {
.split('|')
.where((x) => x.isNotEmpty)
.elementAt(0);
} catch (e, st) {
} catch (e) {
artist = 'N/A';
}

Expand Down
6 changes: 3 additions & 3 deletions lib/pages/bookmark/group/group_article_list_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class _GroupArticleListPageState extends State<GroupArticleListPage> {
'Id': int.parse(element.article()),
'Loading': true,
}));
} catch (e, st) {}
} catch (e) {}
queryResult = result;
_applyFilter();
_rebuild();
Expand Down Expand Up @@ -307,7 +307,7 @@ class _GroupArticleListPageState extends State<GroupArticleListPage> {
handleEhentai() async {
try {
await tryEhentai();
} catch (e, st) {
} catch (e) {
if (e == 'EHASH_LOCK') {
} else {
rethrow;
Expand All @@ -318,7 +318,7 @@ class _GroupArticleListPageState extends State<GroupArticleListPage> {
handleExhentai() async {
try {
await tryExhentai();
} catch (e, st) {
} catch (e) {
if (e == 'EHASH_LOCK') {
} else {
rethrow;
Expand Down

0 comments on commit 7d2111b

Please sign in to comment.