Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
webdev03 committed Oct 6, 2023
1 parent be26726 commit ed07cb0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/classes/Profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,7 @@ class Profile {
}
}
);
if (!delFetch.ok) {
console.log(delFetch.status, await delFetch.text());
throw new Error("Error deleting comment.");
}
if (!delFetch.ok) throw new Error("Error deleting comment.");
}

private async getUserHTML() {
Expand Down

0 comments on commit ed07cb0

Please sign in to comment.