mirror of
https://github.com/venera-app/venera.git
synced 2025-12-16 15:11:14 +00:00
Improve updating following and fix potential crash.
This commit is contained in:
@@ -759,6 +759,7 @@ class ComicSourceParser {
|
||||
LoadComicFunc? _parseLoadComicFunc() {
|
||||
return (id) async {
|
||||
try {
|
||||
print("Loading comic $id from source $_key. Stacktrace:\n${StackTrace.current}");
|
||||
var res = await JsEngine().runCode("""
|
||||
ComicSource.sources.$_key.comic.loadInfo(${jsonEncode(id)})
|
||||
""");
|
||||
|
||||
Reference in New Issue
Block a user