mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +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
@@ -1815,6 +1815,7 @@ class VideoDetailController extends GetxController
|
||||
}
|
||||
}
|
||||
|
||||
@pragma('vm:notify-debugger-on-exception')
|
||||
bool onSkipSegment() {
|
||||
try {
|
||||
if (plPlayerController.enableSponsorBlock) {
|
||||
@@ -1824,8 +1825,8 @@ class VideoDetailController extends GetxController
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} catch (_) {
|
||||
if (kDebugMode) rethrow;
|
||||
} catch (e, s) {
|
||||
Utils.reportError(e, s);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user