Skip to content

Commit

Permalink
Added debugger check for null temp_chapter_url
Browse files Browse the repository at this point in the history
  • Loading branch information
gmastergreatee committed Aug 5, 2022
1 parent ab37910 commit 71abf0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let appName = "Fanfiction-Manager";
let appVersion = "beta_3.1.2";
let verboseMode = false;
let verboseMode = true;

let site_vars_script = `
let defaultGlobals = ["window", "self", "document", "name", "location", "customElements", "history", "locationbar", "menubar",
Expand Down Expand Up @@ -654,6 +654,7 @@ app = new Vue({
this.mainWebView.stop();
break;
}
logVerbose('"' + this.test_result_page_type + '" page detected');
return;
} else {
log("No PAGETYPE data received");
Expand Down Expand Up @@ -1365,6 +1366,9 @@ app = new Vue({
);
this.mainWebView.stop();
let t_c_url = urls_to_download[curr_url_index];
if (!t_c_url || !t_c_url.index) {
debugger;
}
if (data) {
// check for extras
if (data.extras) {
Expand Down

0 comments on commit 71abf0d

Please sign in to comment.