Skip to content

Commit

Permalink
fix: 优化错误打印
Browse files Browse the repository at this point in the history
  • Loading branch information
Lydanne committed May 29, 2024
1 parent 663ee97 commit c981505
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/diffRank.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ export async function diffRank(source: string, target: string, options: any) {
const json = JSON.parse(cur);
acc.push(...json);
} catch (error) {
console.log(error);
console.log("### ERROR ###");
console.log(cur);
console.log(response);
}

return acc;
Expand Down

0 comments on commit c981505

Please sign in to comment.