mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 09:37:52 +08:00
refa: report error (#1747)
* refa: report error * remove some reports [skip ci] Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> --------- Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
committed by
GitHub
parent
a797467606
commit
377e430d74
@@ -123,6 +123,7 @@ class _EpisodePanelState extends State<EpisodePanel>
|
||||
return;
|
||||
}
|
||||
|
||||
@pragma('vm:notify-debugger-on-exception')
|
||||
void jumpToCurrent() {
|
||||
final newItemIndex = _findCurrentItemIndex;
|
||||
if (_currentItemIndex != newItemIndex) {
|
||||
@@ -131,8 +132,8 @@ class _EpisodePanelState extends State<EpisodePanel>
|
||||
_itemScrollController[_currentTabIndex.value].jumpTo(
|
||||
_calcItemOffset(newItemIndex),
|
||||
);
|
||||
} catch (_) {
|
||||
if (kDebugMode) rethrow;
|
||||
} catch (e, s) {
|
||||
Utils.reportError(e, s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user