mirror of
https://github.com/gedoor/legado.git
synced 2026-11-30 17:20:08 +00:00
优化
This commit is contained in:
1 parent
53bfea9e67
commit
8a404544b0
1 file changed
+6
-1
@@ -41,7 +41,12 @@ const appendDebugMsg = (msg) => {
|
||||
};
|
||||
const startDebug = async () => {
|
||||
printDebug.value = "";
|
||||
await API.saveSource(store.currentSource);
|
||||
try {
|
||||
await API.saveSource(store.currentSource);
|
||||
} catch (e) {
|
||||
store.debugFinish()
|
||||
throw e
|
||||
}
|
||||
API.debug(
|
||||
store.currentSourceUrl,
|
||||
searchKey.value || store.searchKey,
|
||||
|
||||
Reference in new issue
Block a user