Skip to content

Commit

Permalink
refactor: add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Feb 26, 2024
1 parent 7e39e98 commit 63b63fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/domain/search_core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ class SearchCore {
try {
o = JSON.parse(text);
} catch (e) {
this.#logger.error(e, "Error parsing response from KTMB", { text });
this.#logger.info({ text }, "Error parsing response from KTMB");
this.#logger.error(e, "Error parsing response from KTMB");
throw e;
}

Expand Down

0 comments on commit 63b63fe

Please sign in to comment.